Loose equality operator prefers to compare numbers so the following console.log is never executed:

bar is coerced to 99 and true to 1, and these are not equal.