$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · easy · #154
What is the output?
console.log([1, 2, 3] + [4]);
1,2,34
1,2,3,4
[1,2,3,4]
NaN
Both arrays stringify and concatenate: '1,2,3' + '4'.
Play Problem Solving ▸
◂ #153
all Problem Solving — predict the output questions
#155 ▸