$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · easy · #26
What is the output?
console.log([1, 2, 3].join("-"));
1-2-3
123
[1-2-3]
1,2,3
join inserts the separator between elements.
Play Problem Solving ▸
◂ #25
all Problem Solving — predict the output questions
#27 ▸