Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardJavaScriptobject destructuringSingle-choice MCQ

What does the snippet log?

const [a,...r]=[1,2,3]; console.log(r);