{"action":"closed","issue":{"url":"https://api.github.com/repos/getify/You-Dont-Know-JS/issues/743","repository_url":"https://api.github.com/repos/getify/You-Dont-Know-JS","labels_url":"https://api.github.com/repos/getify/You-Dont-Know-JS/issues/743/labels{/name}","comments_url":"https://api.github.com/repos/getify/You-Dont-Know-JS/issues/743/comments","events_url":"https://api.github.com/repos/getify/You-Dont-Know-JS/issues/743/events","html_url":"https://github.com/getify/You-Dont-Know-JS/issues/743","id":156666546,"number":743,"title":"ES 6 & beyond, Temporal dead zone","user":{"login":"anirudh-modi","id":16587779,"avatar_url":"https://avatars.githubusercontent.com/u/16587779?v=3","gravatar_id":"","url":"https://api.github.com/users/anirudh-modi","html_url":"https://github.com/anirudh-modi","followers_url":"https://api.github.com/users/anirudh-modi/followers","following_url":"https://api.github.com/users/anirudh-modi/following{/other_user}","gists_url":"https://api.github.com/users/anirudh-modi/gists{/gist_id}","starred_url":"https://api.github.com/users/anirudh-modi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anirudh-modi/subscriptions","organizations_url":"https://api.github.com/users/anirudh-modi/orgs","repos_url":"https://api.github.com/users/anirudh-modi/repos","events_url":"https://api.github.com/users/anirudh-modi/events{/privacy}","received_events_url":"https://api.github.com/users/anirudh-modi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-25T05:30:49Z","updated_at":"2016-05-26T04:53:39Z","closed_at":"2016-05-26T04:53:39Z","body":"I was trying to replicate the TDZ error mentioned in ES6, however I could not replicate the effect using the code Babel...\r\n\r\n````\r\nconsole.log(a); \r\nlet a;\r\n````\r\nbut I could not get the reference error. it never prints any output, nor throws any error, am I doing anything wrong?\r\n\r\nhttps://babeljs.io/repl/#?evaluate=true&lineWrap=false&presets=es2015&code=%0A%20%20console.log(a)%3B%0A%20%20%0A%20%20const%20a%3D1%3B"}}
{"actor":{"display_login":"anirudh-modi"}}