Today's questions is easy, right?!
console.log([10, 1, 3].sort());
What's the result?
[10, 1, 3][1, 3, 10][1, 10, 3][10, 3, 1]
Two-thirds of my teammates tripped over this riddle today :D Do you know the correct answer without trying it out in the console?
Top comments (0)