Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardJavaScriptstructuredCloneSingle-choice MCQ

Which is the output?

console.log(JSON.parse('{"a":1}', (k,v)=>typeof v==="number"?v*2:v));