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

What will be the output?

let arr = [1, 2, 3]; arr.sort(); console.log(arr);