$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · hard · #118
What is the output?
console.log(0.1 + 0.2 + 0.3 === 0.3 + 0.2 + 0.1);
false
true
NaN
TypeError
Float addition is not associative, so the two orders round differently.
Play Problem Solving ▸
◂ #117
all Problem Solving — predict the output questions
#119 ▸