$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · hard · #138

What is the output?

console.log([] == false, [] === false);
  1. true false
  2. false false
  3. true true
  4. false true
== coerces both sides to 0; === compares types first and they differ.
Play Problem Solving ▸