Skip to main content
JourneyUncommon
Toggle theme
Sign In
Sign Up
Toggle theme
Home
/
Practice
/
JavaScript
easy
JavaScript
array map filter reduce
Single-choice MCQ
3,062 views
What is the output?
let arr = [1, 2, 3]; let result = arr.map(x => x + 1); console.log(result);