{"action":"created","issue":{"url":"https://api.github.com/repos/adobe/brackets/issues/5420","repository_url":"https://api.github.com/repos/adobe/brackets","labels_url":"https://api.github.com/repos/adobe/brackets/issues/5420/labels{/name}","comments_url":"https://api.github.com/repos/adobe/brackets/issues/5420/comments","events_url":"https://api.github.com/repos/adobe/brackets/issues/5420/events","html_url":"https://github.com/adobe/brackets/issues/5420","id":20515801,"number":5420,"title":"JSLint throwing error when using console.log()","user":{"login":"fariazz","id":1313597,"avatar_url":"https://avatars.githubusercontent.com/u/1313597?v=3","gravatar_id":"","url":"https://api.github.com/users/fariazz","html_url":"https://github.com/fariazz","followers_url":"https://api.github.com/users/fariazz/followers","following_url":"https://api.github.com/users/fariazz/following{/other_user}","gists_url":"https://api.github.com/users/fariazz/gists{/gist_id}","starred_url":"https://api.github.com/users/fariazz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fariazz/subscriptions","organizations_url":"https://api.github.com/users/fariazz/orgs","repos_url":"https://api.github.com/users/fariazz/repos","events_url":"https://api.github.com/users/fariazz/events{/privacy}","received_events_url":"https://api.github.com/users/fariazz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/adobe/brackets/labels/move%20to%20backlog","name":"move to backlog","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2013-10-04T11:19:22Z","updated_at":"2016-03-10T14:57:31Z","closed_at":"2013-10-04T18:43:17Z","body":"Steps:\r\n\r\n1-open an empty JS file\r\n2-type ```console.log('hello');```\r\n3-save\r\n\r\nExpected:\r\n-no errors shown in JSLint as we haven't done anything illegal\r\n\r\nObserved:\r\n-error message in JSLint ```'console' was used before it was defined```"},"comment":{"url":"https://api.github.com/repos/adobe/brackets/issues/comments/194887793","html_url":"https://github.com/adobe/brackets/issues/5420#issuecomment-194887793","issue_url":"https://api.github.com/repos/adobe/brackets/issues/5420","id":194887793,"user":{"login":"arneunruh","id":8457077,"avatar_url":"https://avatars.githubusercontent.com/u/8457077?v=3","gravatar_id":"","url":"https://api.github.com/users/arneunruh","html_url":"https://github.com/arneunruh","followers_url":"https://api.github.com/users/arneunruh/followers","following_url":"https://api.github.com/users/arneunruh/following{/other_user}","gists_url":"https://api.github.com/users/arneunruh/gists{/gist_id}","starred_url":"https://api.github.com/users/arneunruh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arneunruh/subscriptions","organizations_url":"https://api.github.com/users/arneunruh/orgs","repos_url":"https://api.github.com/users/arneunruh/repos","events_url":"https://api.github.com/users/arneunruh/events{/privacy}","received_events_url":"https://api.github.com/users/arneunruh/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T14:57:31Z","updated_at":"2016-03-10T14:57:31Z","body":"Do not forget \"this and that\" :smile: \r\n\r\n`//Closures & Scopes\r\n\r\n(function (global) {\r\n\r\n    \"use strict\";\r\n    //Scope\r\n    var as = null;\r\n    (function () {\r\n        var a = 5;\r\n        as = a;\r\n    }());\r\n    console.log(as);\r\n\r\n\r\n    function aa(param) {\r\n        var p = param;\r\n        return function () {\r\n            console.log(p);\r\n            global.alert(p);\r\n        };\r\n    }\r\n\r\n\r\n    var bb = aa('test');\r\n    bb();\r\n\r\n}(this.window));\r\n`"}}