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

What is the output?

let arr = [[1, 2], [3, 4, 5]]; console.log(arr.flat());