"{} === null" throws syntax error in developer console

Viewed 104

Why is it that when i type {} === null into the console it throws

SyntaxError: Unexpected token ===

null === {} gives me false as expected.

1 Answers
Related