$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · medium · #100
What is the output?
console.log(String([1, [2, 3]]));
1,2,3
1,[2,3]
[1,[2,3]]
1,2 3
Array to string joins with commas and flattens nested arrays the same way.
Play Problem Solving ▸
◂ #99
all Problem Solving — predict the output questions
#101 ▸