$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · medium · #136
What is the output?
console.log('5' - 2, '5' + 2);
3 52
52 3
3 7
7 52
- coerces the string to a number; + prefers string concatenation.
Play Problem Solving ▸
◂ #135
all Problem Solving — predict the output questions
#137 ▸