{"action":"created","issue":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/9739","repository_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp","labels_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/9739/labels{/name}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/9739/comments","events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/9739/events","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/9739","id":165831803,"number":9739,"title":"this is not working.  i believed its correct. function myLocalScope() {   var myVar = 'use strict';         console.log(myVar); }  myLocalScope();","user":{"login":"gari3d","id":9546191,"avatar_url":"https://avatars.githubusercontent.com/u/9546191?v=3","gravatar_id":"","url":"https://api.github.com/users/gari3d","html_url":"https://github.com/gari3d","followers_url":"https://api.github.com/users/gari3d/followers","following_url":"https://api.github.com/users/gari3d/following{/other_user}","gists_url":"https://api.github.com/users/gari3d/gists{/gist_id}","starred_url":"https://api.github.com/users/gari3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gari3d/subscriptions","organizations_url":"https://api.github.com/users/gari3d/orgs","repos_url":"https://api.github.com/users/gari3d/repos","events_url":"https://api.github.com/users/gari3d/events{/privacy}","received_events_url":"https://api.github.com/users/gari3d/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-15T16:51:47Z","updated_at":"2016-07-15T17:37:52Z","closed_at":"2016-07-15T17:37:52Z","body":"Challenge [Local Scope and Functions](https://www.freecodecamp.com/challenges/local-scope-and-functions#?solution=%0A%0Afunction%20myLocalScope()%20%7B%0A%20%20var%20myVar%20%3D%20'use%20strict'%3B%0A%20%20%0A%20%20%0A%20%20console.log(myVar)%3B%0A%7D%0A%0AmyLocalScope()%3B%0A%0A%2F%2F%20Run%20and%20check%20the%20console%0A%2F%2F%20myVar%20is%20not%20defined%20outside%20of%20myLocalScope%0A%0A%0A%2F%2F%20Now%20remove%20the%20console%20log%20line%20to%20pass%20the%20test%0A%0A) has an issue.\r\nUser Agent is: <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36</code>.\r\nPlease describe how to reproduce this issue, and include links to screenshots if possible.\r\n\r\nMy code:\r\n```javascript\r\n\r\n\r\nfunction myLocalScope() {\r\n  var myVar = 'use strict';\r\n  \r\n  \r\n  console.log(myVar);\r\n}\r\n\r\nmyLocalScope();\r\n\r\n// Run and check the console\r\n// myVar is not defined outside of myLocalScope\r\n\r\n\r\n// Now remove the console log line to pass the test\r\n\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/comments/233017432","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/9739#issuecomment-233017432","issue_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/9739","id":233017432,"user":{"login":"erictleung","id":2754821,"avatar_url":"https://avatars.githubusercontent.com/u/2754821?v=3","gravatar_id":"","url":"https://api.github.com/users/erictleung","html_url":"https://github.com/erictleung","followers_url":"https://api.github.com/users/erictleung/followers","following_url":"https://api.github.com/users/erictleung/following{/other_user}","gists_url":"https://api.github.com/users/erictleung/gists{/gist_id}","starred_url":"https://api.github.com/users/erictleung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erictleung/subscriptions","organizations_url":"https://api.github.com/users/erictleung/orgs","repos_url":"https://api.github.com/users/erictleung/repos","events_url":"https://api.github.com/users/erictleung/events{/privacy}","received_events_url":"https://api.github.com/users/erictleung/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T17:37:52Z","updated_at":"2016-07-15T17:37:52Z","body":"@gari3d thanks for the issue but if you get stuck with a challenge, please first ask questions to the [Help Room](https://gitter.im/FreeCodeCamp/Help). Happy coding!"}}
{"actor":{"display_login":"erictleung"}}