{"action":"created","issue":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/1980","repository_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies","labels_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/1980/labels{/name}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/1980/comments","events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/1980/events","html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/1980","id":124090355,"number":1980,"title":"New ES6 Cheatsheet","user":{"login":"Neats29","id":9632022,"avatar_url":"https://avatars.githubusercontent.com/u/9632022?v=3","gravatar_id":"","url":"https://api.github.com/users/Neats29","html_url":"https://github.com/Neats29","followers_url":"https://api.github.com/users/Neats29/followers","following_url":"https://api.github.com/users/Neats29/following{/other_user}","gists_url":"https://api.github.com/users/Neats29/gists{/gist_id}","starred_url":"https://api.github.com/users/Neats29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neats29/subscriptions","organizations_url":"https://api.github.com/users/Neats29/orgs","repos_url":"https://api.github.com/users/Neats29/repos","events_url":"https://api.github.com/users/Neats29/events{/privacy}","received_events_url":"https://api.github.com/users/Neats29/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/labels/CheatSheet","name":"CheatSheet","color":"006b75"},{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/labels/New%20Instant%20Answer","name":"New Instant Answer","color":"02d7e1"}],"state":"closed","locked":false,"assignee":{"login":"moollaza","id":873785,"avatar_url":"https://avatars.githubusercontent.com/u/873785?v=3","gravatar_id":"","url":"https://api.github.com/users/moollaza","html_url":"https://github.com/moollaza","followers_url":"https://api.github.com/users/moollaza/followers","following_url":"https://api.github.com/users/moollaza/following{/other_user}","gists_url":"https://api.github.com/users/moollaza/gists{/gist_id}","starred_url":"https://api.github.com/users/moollaza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moollaza/subscriptions","organizations_url":"https://api.github.com/users/moollaza/orgs","repos_url":"https://api.github.com/users/moollaza/repos","events_url":"https://api.github.com/users/moollaza/events{/privacy}","received_events_url":"https://api.github.com/users/moollaza/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-12-28T16:50:03Z","updated_at":"2016-02-23T15:23:01Z","closed_at":"2016-01-24T00:47:46Z","pull_request":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/1980","html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/1980","diff_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/1980.diff","patch_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/1980.patch"},"body":"https://duck.co/ia/view/es6_cheat_sheet"},"comment":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/comments/187739558","html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/1980#issuecomment-187739558","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/1980","id":187739558,"user":{"login":"montogeek","id":1002461,"avatar_url":"https://avatars.githubusercontent.com/u/1002461?v=3","gravatar_id":"","url":"https://api.github.com/users/montogeek","html_url":"https://github.com/montogeek","followers_url":"https://api.github.com/users/montogeek/followers","following_url":"https://api.github.com/users/montogeek/following{/other_user}","gists_url":"https://api.github.com/users/montogeek/gists{/gist_id}","starred_url":"https://api.github.com/users/montogeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montogeek/subscriptions","organizations_url":"https://api.github.com/users/montogeek/orgs","repos_url":"https://api.github.com/users/montogeek/repos","events_url":"https://api.github.com/users/montogeek/events{/privacy}","received_events_url":"https://api.github.com/users/montogeek/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T15:23:01Z","updated_at":"2016-02-23T15:23:01Z","body":"Hi!\r\n\r\nIt is possible to update the example code of Promises and Proxy?\r\nThe third \"Proxies and Promises\" example uses a `p` to exemplify how to catch a Promise error, but the first Proxy example also uses a `p`, so, is confusing since the `p` is related to the Proxy example but it is illustrating a Promise example.\r\n\r\nI propose to change the examples to:\r\n\r\n`var proxy = new Proxy(target, handler);`\r\n\r\n`var p = new Promise(function(resolve, reject) \\\\{ \\\\});`\r\n\r\nI can send a PR if this is ok with you :)"}}