For safety, as I recommended in this PR, we should just use ===/!== everywhere instead of ==/!=. The single exception I'd make to this rule is that x == null is ok (convenient short-hand for x == null || x == undefined, and it should come up pretty rarely).