{"action":"created","issue":{"url":"https://api.github.com/repos/ruanyf/es6tutorial/issues/75","labels_url":"https://api.github.com/repos/ruanyf/es6tutorial/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/ruanyf/es6tutorial/issues/75/comments","events_url":"https://api.github.com/repos/ruanyf/es6tutorial/issues/75/events","html_url":"https://github.com/ruanyf/es6tutorial/issues/75","id":101340806,"number":75,"title":"let例子解析错误(勘误)","user":{"login":"meilihao","id":4382586,"avatar_url":"https://avatars.githubusercontent.com/u/4382586?v=3","gravatar_id":"","url":"https://api.github.com/users/meilihao","html_url":"https://github.com/meilihao","followers_url":"https://api.github.com/users/meilihao/followers","following_url":"https://api.github.com/users/meilihao/following{/other_user}","gists_url":"https://api.github.com/users/meilihao/gists{/gist_id}","starred_url":"https://api.github.com/users/meilihao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meilihao/subscriptions","organizations_url":"https://api.github.com/users/meilihao/orgs","repos_url":"https://api.github.com/users/meilihao/repos","events_url":"https://api.github.com/users/meilihao/events{/privacy}","received_events_url":"https://api.github.com/users/meilihao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-17T05:20:13Z","updated_at":"2015-08-17T08:25:44Z","closed_at":null,"body":"http://es6.ruanyifeng.com/#docs/let,不存在变量提升:\r\n```js\r\nlet foo = 'outer';\r\n\r\nfunction bar(func = x => foo) {\r\n  let foo = 'inner';\r\n  console.log(func()); // outer\r\n}\r\n\r\nbar();\r\n```\r\n上面的例子中, console.log()应该输出\"inner\"而不是\"outer\"."},"comment":{"url":"https://api.github.com/repos/ruanyf/es6tutorial/issues/comments/131728593","html_url":"https://github.com/ruanyf/es6tutorial/issues/75#issuecomment-131728593","issue_url":"https://api.github.com/repos/ruanyf/es6tutorial/issues/75","id":131728593,"user":{"login":"hax","id":159840,"avatar_url":"https://avatars.githubusercontent.com/u/159840?v=3","gravatar_id":"","url":"https://api.github.com/users/hax","html_url":"https://github.com/hax","followers_url":"https://api.github.com/users/hax/followers","following_url":"https://api.github.com/users/hax/following{/other_user}","gists_url":"https://api.github.com/users/hax/gists{/gist_id}","starred_url":"https://api.github.com/users/hax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hax/subscriptions","organizations_url":"https://api.github.com/users/hax/orgs","repos_url":"https://api.github.com/users/hax/repos","events_url":"https://api.github.com/users/hax/events{/privacy}","received_events_url":"https://api.github.com/users/hax/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T08:25:44Z","updated_at":"2015-08-17T08:25:44Z","body":"看了一下，基本确认是 FF 的 bug。\r\n\r\nhttps://bugzilla.mozilla.org/show_bug.cgi?id=1022967\r\nhttps://github.com/babel/babel/issues/710"}}