{"action":"opened","issue":{"url":"https://api.github.com/repos/jshint/jshint/issues/2525","labels_url":"https://api.github.com/repos/jshint/jshint/issues/2525/labels{/name}","comments_url":"https://api.github.com/repos/jshint/jshint/issues/2525/comments","events_url":"https://api.github.com/repos/jshint/jshint/issues/2525/events","html_url":"https://github.com/jshint/jshint/issues/2525","id":93088271,"number":2525,"title":"We allow spread operators anywhere","user":{"login":"lukeapage","id":309321,"avatar_url":"https://avatars.githubusercontent.com/u/309321?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeapage","html_url":"https://github.com/lukeapage","followers_url":"https://api.github.com/users/lukeapage/followers","following_url":"https://api.github.com/users/lukeapage/following{/other_user}","gists_url":"https://api.github.com/users/lukeapage/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeapage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeapage/subscriptions","organizations_url":"https://api.github.com/users/lukeapage/orgs","repos_url":"https://api.github.com/users/lukeapage/repos","events_url":"https://api.github.com/users/lukeapage/events{/privacy}","received_events_url":"https://api.github.com/users/lukeapage/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jshint/jshint/labels/P2","name":"P2","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-05T07:44:00Z","updated_at":"2015-07-05T07:44:00Z","closed_at":null,"body":"E.g.\r\n```\r\nvar a = (...(a) => ());\r\nvar b = ...a;\r\n[{a:...a}] = [];\r\n```\r\nI believe they are only valid\r\na) in array destructuring\r\nb) in the parameter list\r\nc) in arrays\r\n\r\nI need to investigate the spec to be sure"}}