{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/esprima/issues/1509","repository_url":"https://api.github.com/repos/jquery/esprima","labels_url":"https://api.github.com/repos/jquery/esprima/issues/1509/labels{/name}","comments_url":"https://api.github.com/repos/jquery/esprima/issues/1509/comments","events_url":"https://api.github.com/repos/jquery/esprima/issues/1509/events","html_url":"https://github.com/jquery/esprima/issues/1509","id":168261032,"number":1509,"title":"`function l([w,w]) { }`: should it actually parse?","user":{"login":"nenionoda","id":20277028,"avatar_url":"https://avatars.githubusercontent.com/u/20277028?v=3","gravatar_id":"","url":"https://api.github.com/users/nenionoda","html_url":"https://github.com/nenionoda","followers_url":"https://api.github.com/users/nenionoda/followers","following_url":"https://api.github.com/users/nenionoda/following{/other_user}","gists_url":"https://api.github.com/users/nenionoda/gists{/gist_id}","starred_url":"https://api.github.com/users/nenionoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nenionoda/subscriptions","organizations_url":"https://api.github.com/users/nenionoda/orgs","repos_url":"https://api.github.com/users/nenionoda/repos","events_url":"https://api.github.com/users/nenionoda/events{/privacy}","received_events_url":"https://api.github.com/users/nenionoda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-29T06:43:46Z","updated_at":"2016-07-29T06:58:23Z","closed_at":null,"body":"Hello\r\nIf I have understood the spec correctly, only non-strict mode functions with no array-, object-, or assignment-pattern in their parameter list are allowed to have duplicate parameters. So none are valid below:\r\n```js\r\nfunction l(w,[w]) { }\r\nfunction l(w,w=12) { }\r\nfunction l(w,{w}) { }\r\nfunction l([w,w]) { }\r\nfunction l({w,w}) { }\r\nfunction l([w], w) { }\r\nfunction l({w}, w) { }  \r\n```\r\n\r\nstill they actually parse smoothly in esprima. I'm not a great spec grokker though, so I would be glad to know whether I've been wrong with the claims above. Thanks a lot in advance!"},"comment":{"url":"https://api.github.com/repos/jquery/esprima/issues/comments/236108898","html_url":"https://github.com/jquery/esprima/issues/1509#issuecomment-236108898","issue_url":"https://api.github.com/repos/jquery/esprima/issues/1509","id":236108898,"user":{"login":"michaelficarra","id":218840,"avatar_url":"https://avatars.githubusercontent.com/u/218840?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelficarra","html_url":"https://github.com/michaelficarra","followers_url":"https://api.github.com/users/michaelficarra/followers","following_url":"https://api.github.com/users/michaelficarra/following{/other_user}","gists_url":"https://api.github.com/users/michaelficarra/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelficarra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelficarra/subscriptions","organizations_url":"https://api.github.com/users/michaelficarra/orgs","repos_url":"https://api.github.com/users/michaelficarra/repos","events_url":"https://api.github.com/users/michaelficarra/events{/privacy}","received_events_url":"https://api.github.com/users/michaelficarra/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T06:58:23Z","updated_at":"2016-07-29T06:58:23Z","body":"Yep, this is a bug in esprima."}}
{"actor":{"display_login":"michaelficarra"}}