$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · easy · #16
What is the output?
const r = ("5" as any) - 3; console.log(r);
2
"2"
53
NaN
The minus operator forces numeric conversion: 5 - 3 = 2.
Play Problem Solving ▸
◂ #15
all Problem Solving — predict the output questions
#17 ▸