$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · easy · #132
What is the output?
console.log([1, 2] + [3]);
1,23
[1,2,3]
1,2,3
NaN
+ converts both arrays to strings, so "1,2" and "3" are concatenated.
Play Problem Solving ▸
◂ #131
all Problem Solving — predict the output questions
#133 ▸