{"action":"created","issue":{"url":"https://api.github.com/repos/feross/standard/issues/279","labels_url":"https://api.github.com/repos/feross/standard/issues/279/labels{/name}","comments_url":"https://api.github.com/repos/feross/standard/issues/279/comments","events_url":"https://api.github.com/repos/feross/standard/issues/279/events","html_url":"https://github.com/feross/standard/issues/279","id":109424775,"number":279,"title":"Question: x == null rule","user":{"login":"rstacruz","id":74385,"avatar_url":"https://avatars.githubusercontent.com/u/74385?v=3","gravatar_id":"","url":"https://api.github.com/users/rstacruz","html_url":"https://github.com/rstacruz","followers_url":"https://api.github.com/users/rstacruz/followers","following_url":"https://api.github.com/users/rstacruz/following{/other_user}","gists_url":"https://api.github.com/users/rstacruz/gists{/gist_id}","starred_url":"https://api.github.com/users/rstacruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstacruz/subscriptions","organizations_url":"https://api.github.com/users/rstacruz/orgs","repos_url":"https://api.github.com/users/rstacruz/repos","events_url":"https://api.github.com/users/rstacruz/events{/privacy}","received_events_url":"https://api.github.com/users/rstacruz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/feross/standard/labels/new%20rule","name":"new rule","color":"fbca04"},{"url":"https://api.github.com/repos/feross/standard/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-02T03:45:49Z","updated_at":"2015-10-12T22:12:21Z","closed_at":null,"body":"The readme says:\r\n\r\n> Always use === instead of == – but obj == null is allowed to check null || undefined.\r\n\r\nWhy is `==` being permitted in this exception?"},"comment":{"url":"https://api.github.com/repos/feross/standard/issues/comments/147535345","html_url":"https://github.com/feross/standard/issues/279#issuecomment-147535345","issue_url":"https://api.github.com/repos/feross/standard/issues/279","id":147535345,"user":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T22:12:21Z","updated_at":"2015-10-12T22:12:21Z","body":"It's a very common idiom in JS to check for `null` and `undefined` in one shot by using `== null`.\r\n\r\n`x == null` is far nicer than `x === null || x === undefined` to the trained eye."}}