{"action":"created","issue":{"url":"https://api.github.com/repos/wthimbleby/tailspin/issues/98","labels_url":"https://api.github.com/repos/wthimbleby/tailspin/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/wthimbleby/tailspin/issues/98/comments","events_url":"https://api.github.com/repos/wthimbleby/tailspin/issues/98/events","html_url":"https://github.com/wthimbleby/tailspin/issues/98","id":61942632,"number":98,"title":"let bindings","user":{"login":"wthimbleby","id":5857075,"avatar_url":"https://avatars.githubusercontent.com/u/5857075?v=3","gravatar_id":"","url":"https://api.github.com/users/wthimbleby","html_url":"https://github.com/wthimbleby","followers_url":"https://api.github.com/users/wthimbleby/followers","following_url":"https://api.github.com/users/wthimbleby/following{/other_user}","gists_url":"https://api.github.com/users/wthimbleby/gists{/gist_id}","starred_url":"https://api.github.com/users/wthimbleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wthimbleby/subscriptions","organizations_url":"https://api.github.com/users/wthimbleby/orgs","repos_url":"https://api.github.com/users/wthimbleby/repos","events_url":"https://api.github.com/users/wthimbleby/events{/privacy}","received_events_url":"https://api.github.com/users/wthimbleby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wthimbleby/tailspin/labels/es6","name":"es6","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-16T02:03:11Z","updated_at":"2015-04-12T22:50:10Z","closed_at":"2015-03-18T22:28:35Z","body":"```js\r\nlet bar = 123;\r\n{\r\n    let bar = 456;\r\n    bar === 456;\r\n}\r\n\r\nbar === 123;\r\n```"},"comment":{"url":"https://api.github.com/repos/wthimbleby/tailspin/issues/comments/92146538","html_url":"https://github.com/wthimbleby/tailspin/issues/98#issuecomment-92146538","issue_url":"https://api.github.com/repos/wthimbleby/tailspin/issues/98","id":92146538,"user":{"login":"wthimbleby","id":5857075,"avatar_url":"https://avatars.githubusercontent.com/u/5857075?v=3","gravatar_id":"","url":"https://api.github.com/users/wthimbleby","html_url":"https://github.com/wthimbleby","followers_url":"https://api.github.com/users/wthimbleby/followers","following_url":"https://api.github.com/users/wthimbleby/following{/other_user}","gists_url":"https://api.github.com/users/wthimbleby/gists{/gist_id}","starred_url":"https://api.github.com/users/wthimbleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wthimbleby/subscriptions","organizations_url":"https://api.github.com/users/wthimbleby/orgs","repos_url":"https://api.github.com/users/wthimbleby/repos","events_url":"https://api.github.com/users/wthimbleby/events{/privacy}","received_events_url":"https://api.github.com/users/wthimbleby/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T22:50:10Z","updated_at":"2015-04-12T22:50:10Z","body":"```js\r\nlet bar = 123;\r\n{\r\n    let bar = 456;\r\n}\r\nconsole.log(\"basic: \"+(bar === 123));\r\n\r\nlet baz = 1;\r\nfor(let baz = 0; false; false) {}\r\nconsole.log(\"for: \"+(baz === 1));\r\n\r\nvar passed = (function(){\r\n  try {\r\n    console.log(qux);\r\n  } catch(e) {\r\n    return true;\r\n  }\r\n}());\r\nlet qux = 456;\r\nconsole.log(\"TDZ: \"+passed);\r\n\r\nlet scopes = [];\r\nfor (let i = 0; i < 2; i++) {\r\n  scopes.push(function(){ return i; });\r\n}\r\npassed = (scopes[0]() === 0 && scopes[1]() === 1);\r\nscopes = [];\r\nfor (let i in { a:1, b:1 }) {//console.log(i);\r\n    scopes.push(function(){ return i; });\r\n}\r\npassed &= (scopes[0]() === \"a\" && scopes[1]() === \"b\");\r\nconsole.log(\"for-loop: \"+(!!passed));\r\n\r\nvar strictBlockFns = (function(){\r\n 'use strict';\r\n  function f() { return 1; }\r\n  { function f() { return 2; } }\r\n  return f() === 1;\r\n}());\r\n\r\nconsole.log(\"block-fns: \"+(strictBlockFns));\r\n```"}}