{"action":"created","issue":{"url":"https://api.github.com/repos/shapesecurity/shift-parser-js/issues/254","labels_url":"https://api.github.com/repos/shapesecurity/shift-parser-js/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/shapesecurity/shift-parser-js/issues/254/comments","events_url":"https://api.github.com/repos/shapesecurity/shift-parser-js/issues/254/events","html_url":"https://github.com/shapesecurity/shift-parser-js/issues/254","id":114138513,"number":254,"title":"is that per spec  that ternary can not get mixed with rest?","user":{"login":"mohsen1","id":543633,"avatar_url":"https://avatars.githubusercontent.com/u/543633?v=3","gravatar_id":"","url":"https://api.github.com/users/mohsen1","html_url":"https://github.com/mohsen1","followers_url":"https://api.github.com/users/mohsen1/followers","following_url":"https://api.github.com/users/mohsen1/following{/other_user}","gists_url":"https://api.github.com/users/mohsen1/gists{/gist_id}","starred_url":"https://api.github.com/users/mohsen1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohsen1/subscriptions","organizations_url":"https://api.github.com/users/mohsen1/orgs","repos_url":"https://api.github.com/users/mohsen1/repos","events_url":"https://api.github.com/users/mohsen1/events{/privacy}","received_events_url":"https://api.github.com/users/mohsen1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-29T20:27:22Z","updated_at":"2015-10-29T23:20:39Z","closed_at":"2015-10-29T22:29:29Z","body":"```\r\nlet a = false\r\nlet b = [1,2,3]\r\nlet c = [4,5,6]\r\nlet d = [7,8,9, a ? ...b : ...c];\r\n```\r\n\r\nNeither Babel or Shift like this. Is that per spec  that ternary can not get mixed with rest?"},"comment":{"url":"https://api.github.com/repos/shapesecurity/shift-parser-js/issues/comments/152354837","html_url":"https://github.com/shapesecurity/shift-parser-js/issues/254#issuecomment-152354837","issue_url":"https://api.github.com/repos/shapesecurity/shift-parser-js/issues/254","id":152354837,"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":"2015-10-29T23:20:39Z","updated_at":"2015-10-29T23:20:39Z","body":"This is called a spread, not a rest. Rest is the LHS/binding form of spread."}}