{"action":"opened","issue":{"url":"https://api.github.com/repos/tc39/ecma262/issues/515","repository_url":"https://api.github.com/repos/tc39/ecma262","labels_url":"https://api.github.com/repos/tc39/ecma262/issues/515/labels{/name}","comments_url":"https://api.github.com/repos/tc39/ecma262/issues/515/comments","events_url":"https://api.github.com/repos/tc39/ecma262/issues/515/events","html_url":"https://github.com/tc39/ecma262/issues/515","id":145416486,"number":515,"title":"new Promise without first argument","user":{"login":"xlaywan","id":9087446,"avatar_url":"https://avatars.githubusercontent.com/u/9087446?v=3","gravatar_id":"","url":"https://api.github.com/users/xlaywan","html_url":"https://github.com/xlaywan","followers_url":"https://api.github.com/users/xlaywan/followers","following_url":"https://api.github.com/users/xlaywan/following{/other_user}","gists_url":"https://api.github.com/users/xlaywan/gists{/gist_id}","starred_url":"https://api.github.com/users/xlaywan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlaywan/subscriptions","organizations_url":"https://api.github.com/users/xlaywan/orgs","repos_url":"https://api.github.com/users/xlaywan/repos","events_url":"https://api.github.com/users/xlaywan/events{/privacy}","received_events_url":"https://api.github.com/users/xlaywan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-02T20:49:32Z","updated_at":"2016-04-02T20:49:32Z","closed_at":null,"body":"Instead of:\r\n``` js\r\nlet promise = new Promise((resolve, reject) => {\r\n\tif (true)\r\n\t\tresolve()\r\n\telse\r\n\t\treject()\r\n})\r\n```\r\nThis\r\n``` js\r\nlet promise = new Promise\r\nif (true)\r\n\tpromise.resolve()\r\nelse\r\n\tpromise.reject()\r\n```\r\n\r\nLess nesting. What do you think?"}}