$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · medium · #99
What is the output?
console.log('a,b,,c'.split(',').length);
4
3
5
2
The empty field between the two commas is kept as an empty string.
Play Problem Solving ▸
◂ #98
all Problem Solving — predict the output questions
#100 ▸