What will the output of the following code be?
let arr = [1, 0, 0.11, 1.1, 0.1, 0.9];
arr.sort();
console.log(arr);What will the output of the following code be?
let arr = [1, 0, 0.11, 1.1, 0.1, 0.9];
arr.sort();
console.log(arr);Create a free account to access the full topic