CJCoding With Joseph
15free / daySign inCreate account
Back to Code Walkthrough

Loose Equality Coercion

JavaScript code walkthrough · Question 28
hardOperators

Code

Read carefully. What does this print?
1console.log(0 == "");
2console.log(0 == "0");
3console.log("" == "0");
4console.log(1 == true);

Your answer