{"action":"created","issue":{"url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4140","labels_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4140/labels{/name}","comments_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4140/comments","events_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4140/events","html_url":"https://github.com/jashkenas/coffeescript/pull/4140","id":114538943,"number":4140,"title":"Fix #4137: Caught errors named `undefined`","user":{"login":"lydell","id":2142817,"avatar_url":"https://avatars.githubusercontent.com/u/2142817?v=3","gravatar_id":"","url":"https://api.github.com/users/lydell","html_url":"https://github.com/lydell","followers_url":"https://api.github.com/users/lydell/followers","following_url":"https://api.github.com/users/lydell/following{/other_user}","gists_url":"https://api.github.com/users/lydell/gists{/gist_id}","starred_url":"https://api.github.com/users/lydell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lydell/subscriptions","organizations_url":"https://api.github.com/users/lydell/orgs","repos_url":"https://api.github.com/users/lydell/repos","events_url":"https://api.github.com/users/lydell/events{/privacy}","received_events_url":"https://api.github.com/users/lydell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-02T07:08:03Z","updated_at":"2015-11-02T16:20:52Z","closed_at":"2015-11-02T07:18:47Z","pull_request":{"url":"https://api.github.com/repos/jashkenas/coffeescript/pulls/4140","html_url":"https://github.com/jashkenas/coffeescript/pull/4140","diff_url":"https://github.com/jashkenas/coffeescript/pull/4140.diff","patch_url":"https://github.com/jashkenas/coffeescript/pull/4140.patch"},"body":"Previously, `catch`-less `try`s named the caught error `undefined`, instead of\r\n`error` like usual.\r\n\r\nI don’t know how/if to test this, which is why I included no test."},"comment":{"url":"https://api.github.com/repos/jashkenas/coffeescript/issues/comments/153071866","html_url":"https://github.com/jashkenas/coffeescript/pull/4140#issuecomment-153071866","issue_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/4140","id":153071866,"user":{"login":"vendethiel","id":199499,"avatar_url":"https://avatars.githubusercontent.com/u/199499?v=3","gravatar_id":"","url":"https://api.github.com/users/vendethiel","html_url":"https://github.com/vendethiel","followers_url":"https://api.github.com/users/vendethiel/followers","following_url":"https://api.github.com/users/vendethiel/following{/other_user}","gists_url":"https://api.github.com/users/vendethiel/gists{/gist_id}","starred_url":"https://api.github.com/users/vendethiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vendethiel/subscriptions","organizations_url":"https://api.github.com/users/vendethiel/orgs","repos_url":"https://api.github.com/users/vendethiel/repos","events_url":"https://api.github.com/users/vendethiel/events{/privacy}","received_events_url":"https://api.github.com/users/vendethiel/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T16:20:52Z","updated_at":"2015-11-02T16:20:52Z","body":"If you create a binding named undefined in strict mode, it wouldn't retain its value, right? So the `!undefined?` test would be okay... Barring what you just reminded me about it being compiled to `void 0` – thanks.\r\nI guess it's really not worth to test it with backticks, so I'll drop it. Thanks @lydell !"}}