$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · medium · #134
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 and returns a string.
Play Problem Solving ▸
◂ #133
all Problem Solving — predict the output questions
#135 ▸