{"action":"created","issue":{"url":"https://api.github.com/repos/learn-co-curriculum/js-object-oriented-bind-call-apply-readme/issues/14","repository_url":"https://api.github.com/repos/learn-co-curriculum/js-object-oriented-bind-call-apply-readme","labels_url":"https://api.github.com/repos/learn-co-curriculum/js-object-oriented-bind-call-apply-readme/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/learn-co-curriculum/js-object-oriented-bind-call-apply-readme/issues/14/comments","events_url":"https://api.github.com/repos/learn-co-curriculum/js-object-oriented-bind-call-apply-readme/issues/14/events","html_url":"https://github.com/learn-co-curriculum/js-object-oriented-bind-call-apply-readme/issues/14","id":344520883,"node_id":"MDU6SXNzdWUzNDQ1MjA4ODM=","number":14,"title":"Typo to be fixed. ","user":{"login":"MiriamPeskowitz","id":18649892,"node_id":"MDQ6VXNlcjE4NjQ5ODky","avatar_url":"https://avatars1.githubusercontent.com/u/18649892?v=4","gravatar_id":"","url":"https://api.github.com/users/MiriamPeskowitz","html_url":"https://github.com/MiriamPeskowitz","followers_url":"https://api.github.com/users/MiriamPeskowitz/followers","following_url":"https://api.github.com/users/MiriamPeskowitz/following{/other_user}","gists_url":"https://api.github.com/users/MiriamPeskowitz/gists{/gist_id}","starred_url":"https://api.github.com/users/MiriamPeskowitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiriamPeskowitz/subscriptions","organizations_url":"https://api.github.com/users/MiriamPeskowitz/orgs","repos_url":"https://api.github.com/users/MiriamPeskowitz/repos","events_url":"https://api.github.com/users/MiriamPeskowitz/events{/privacy}","received_events_url":"https://api.github.com/users/MiriamPeskowitz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-25T16:38:45Z","updated_at":"2018-08-30T19:45:38Z","closed_at":"2018-08-30T19:45:39Z","author_association":"NONE","body":"This edit is 1 paragraph up from the end, 3d sentence is: when the moment... \r\n\r\nShould be changed to: \r\nFrom the moment the method is invoked... \r\nof\r\nWhen the method is invoked. \r\n\r\n\r\nLet's see why the above code works. The callback function is declared when the favoriteBandMatches method is invoked. When the moment the method is invoked, this equals the user instance receiving the method call, and we bind the callback function to that user instance. Then, from inside the filter method, the callback function is invoked - the context would be global here, except that the this is bound to User instance.\r\n\r\nSUMMARY\r\nWe reviewed how this works for simple function calls. Then we saw how call and apply allow us to instantly execute functions while specifying the this value of the executed function. Then we learned how to use bind to make copies of functions with a new this value bound to the copy of the function.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/learn-co-curriculum/js-object-oriented-bind-call-apply-readme/issues/comments/417444324","html_url":"https://github.com/learn-co-curriculum/js-object-oriented-bind-call-apply-readme/issues/14#issuecomment-417444324","issue_url":"https://api.github.com/repos/learn-co-curriculum/js-object-oriented-bind-call-apply-readme/issues/14","id":417444324,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzQ0NDMyNA==","user":{"login":"drakeltheryuujin","id":3029347,"node_id":"MDQ6VXNlcjMwMjkzNDc=","avatar_url":"https://avatars0.githubusercontent.com/u/3029347?v=4","gravatar_id":"","url":"https://api.github.com/users/drakeltheryuujin","html_url":"https://github.com/drakeltheryuujin","followers_url":"https://api.github.com/users/drakeltheryuujin/followers","following_url":"https://api.github.com/users/drakeltheryuujin/following{/other_user}","gists_url":"https://api.github.com/users/drakeltheryuujin/gists{/gist_id}","starred_url":"https://api.github.com/users/drakeltheryuujin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drakeltheryuujin/subscriptions","organizations_url":"https://api.github.com/users/drakeltheryuujin/orgs","repos_url":"https://api.github.com/users/drakeltheryuujin/repos","events_url":"https://api.github.com/users/drakeltheryuujin/events{/privacy}","received_events_url":"https://api.github.com/users/drakeltheryuujin/received_events","type":"User","site_admin":false},"created_at":"2018-08-30T19:45:38Z","updated_at":"2018-08-30T19:45:38Z","author_association":"CONTRIBUTOR","body":"Thank you for spotting this issue and providing feedback.\r\nWe have updated the materials.\r\nThank you for your contribution 💙"}}
{"actor":{"display_login":"drakeltheryuujin"}}