Skip to main content
JourneyUncommon
Toggle theme
Sign In
Sign Up
Toggle theme
Home
/
Practice
/
JavaScript
medium
JavaScript
array map filter reduce
Single-choice MCQ
Which is the output?
console.log([1,2,3].flatMap(x=>[x]).reduce((a,b)=>a+b,0));