Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyJavaScriptarray map filter reduceSingle-choice MCQ3,062 views

What is the output?

let arr = [1, 2, 3]; let result = arr.map(x => x + 1); console.log(result);