$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · hard · #190
What is the output?
console.log([] == ![]);
true
false
TypeError
undefined
![] is false, both sides coerce to numbers, and an empty array becomes 0 — so 0 == 0.
Play Problem Solving ▸
◂ #189
all Problem Solving — predict the output questions
#191 ▸