{"action":"closed","issue":{"url":"https://api.github.com/repos/getify/You-Dont-Know-JS/issues/1296","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/1296/labels{/name}","comments_url":"https://api.github.com/repos/getify/You-Dont-Know-JS/issues/1296/comments","events_url":"https://api.github.com/repos/getify/You-Dont-Know-JS/issues/1296/events","html_url":"https://github.com/getify/You-Dont-Know-JS/issues/1296","id":327966383,"node_id":"MDU6SXNzdWUzMjc5NjYzODM=","number":1296,"title":"why is IIFE needed to create a new scope?","user":{"login":"ags799","id":2957581,"node_id":"MDQ6VXNlcjI5NTc1ODE=","avatar_url":"https://avatars0.githubusercontent.com/u/2957581?v=4","gravatar_id":"","url":"https://api.github.com/users/ags799","html_url":"https://github.com/ags799","followers_url":"https://api.github.com/users/ags799/followers","following_url":"https://api.github.com/users/ags799/following{/other_user}","gists_url":"https://api.github.com/users/ags799/gists{/gist_id}","starred_url":"https://api.github.com/users/ags799/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ags799/subscriptions","organizations_url":"https://api.github.com/users/ags799/orgs","repos_url":"https://api.github.com/users/ags799/repos","events_url":"https://api.github.com/users/ags799/events{/privacy}","received_events_url":"https://api.github.com/users/ags799/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-31T02:02:29Z","updated_at":"2018-05-31T02:57:05Z","closed_at":"2018-05-31T02:57:05Z","author_association":"NONE","body":"From this section: https://github.com/getify/You-Dont-Know-JS/blob/master/scope%20%26%20closures/ch5.md#loops--closure\r\n\r\nI've asked a StackOverflow question about this https://stackoverflow.com/questions/50615610/why-is-iife-needed-to-create-a-new-scope\r\n\r\nWould appreciate any help."}}
{"actor":{"display_login":"ags799"}}