{"action":"created","issue":{"url":"https://api.github.com/repos/redexp/geekhub-2016-js/issues/2","repository_url":"https://api.github.com/repos/redexp/geekhub-2016-js","labels_url":"https://api.github.com/repos/redexp/geekhub-2016-js/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/redexp/geekhub-2016-js/issues/2/comments","events_url":"https://api.github.com/repos/redexp/geekhub-2016-js/issues/2/events","html_url":"https://github.com/redexp/geekhub-2016-js/issues/2","id":184033765,"number":2,"title":"Замыкание, область видимости ","user":{"login":"denys991","id":22910972,"avatar_url":"https://avatars.githubusercontent.com/u/22910972?v=3","gravatar_id":"","url":"https://api.github.com/users/denys991","html_url":"https://github.com/denys991","followers_url":"https://api.github.com/users/denys991/followers","following_url":"https://api.github.com/users/denys991/following{/other_user}","gists_url":"https://api.github.com/users/denys991/gists{/gist_id}","starred_url":"https://api.github.com/users/denys991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denys991/subscriptions","organizations_url":"https://api.github.com/users/denys991/orgs","repos_url":"https://api.github.com/users/denys991/repos","events_url":"https://api.github.com/users/denys991/events{/privacy}","received_events_url":"https://api.github.com/users/denys991/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-19T18:05:18Z","updated_at":"2016-10-20T06:32:34Z","closed_at":null,"body":"Яким чином render став виконувати ті ж операції що і drawChart? Коли я намагаюся відтворити щось подібне в консолі, мені видає помилку:\"рендер не являється функцією\". Буду вдячний за підказку.\r\n`\r\nfunction module1 () {\r\n    var chart = new Chart();\r\n\r\n    function drawChart(arr) {\r\n        chart.draw(arr);\r\n}\r\n    module2(drawChart);\r\n}\r\n//============================\r\nfunction module2(render) {\r\nvar nambers = [1, 2, 3, 4]\r\n\r\nrender(numbers);\r\n}\r\n\r\n`"},"comment":{"url":"https://api.github.com/repos/redexp/geekhub-2016-js/issues/comments/255020791","html_url":"https://github.com/redexp/geekhub-2016-js/issues/2#issuecomment-255020791","issue_url":"https://api.github.com/repos/redexp/geekhub-2016-js/issues/2","id":255020791,"user":{"login":"denys991","id":22910972,"avatar_url":"https://avatars.githubusercontent.com/u/22910972?v=3","gravatar_id":"","url":"https://api.github.com/users/denys991","html_url":"https://github.com/denys991","followers_url":"https://api.github.com/users/denys991/followers","following_url":"https://api.github.com/users/denys991/following{/other_user}","gists_url":"https://api.github.com/users/denys991/gists{/gist_id}","starred_url":"https://api.github.com/users/denys991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denys991/subscriptions","organizations_url":"https://api.github.com/users/denys991/orgs","repos_url":"https://api.github.com/users/denys991/repos","events_url":"https://api.github.com/users/denys991/events{/privacy}","received_events_url":"https://api.github.com/users/denys991/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T06:32:34Z","updated_at":"2016-10-20T06:32:34Z","body":"дякую, так працює."}}
{"actor":{"display_login":"denys991"}}