$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · easy · #177
What is the output?
console.log(['a', 'b'].join('-'));
a-b
ab
a,b
['a','b']
join uses the given separator; with no argument it would default to a comma.
Play Problem Solving ▸
◂ #176
all Problem Solving — predict the output questions
#178 ▸