{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/6716","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/6716/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/6716/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/6716/events","html_url":"https://github.com/meteor/meteor/issues/6716","id":146211029,"number":6716,"title":"[Meteor 1.3] [bug] ES6 language features missing.","user":{"login":"trusktr","id":297678,"avatar_url":"https://avatars.githubusercontent.com/u/297678?v=3","gravatar_id":"","url":"https://api.github.com/users/trusktr","html_url":"https://github.com/trusktr","followers_url":"https://api.github.com/users/trusktr/followers","following_url":"https://api.github.com/users/trusktr/following{/other_user}","gists_url":"https://api.github.com/users/trusktr/gists{/gist_id}","starred_url":"https://api.github.com/users/trusktr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trusktr/subscriptions","organizations_url":"https://api.github.com/users/trusktr/orgs","repos_url":"https://api.github.com/users/trusktr/repos","events_url":"https://api.github.com/users/trusktr/events{/privacy}","received_events_url":"https://api.github.com/users/trusktr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-06T07:13:22Z","updated_at":"2016-04-08T18:56:42Z","closed_at":null,"body":"I'm in Safari 8 and getting an error that `undefined is not a function` for some code like `array.includes(...)`.\r\n\r\nIs `ecmascript` not handling this language feature? I didn't notice the problem in Chrome because Chrome has Array.prototype.includes already.\r\n\r\nI see babel-polyfill/core-js does feature detection: https://github.com/zloirock/core-js/blob/master/modules/_export.js#L19-L31. Can that be used? Would adding babel-polyfill to an app cause any problems with Meteor's polyfills/shims?"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/207556583","html_url":"https://github.com/meteor/meteor/issues/6716#issuecomment-207556583","issue_url":"https://api.github.com/repos/meteor/meteor/issues/6716","id":207556583,"user":{"login":"aldeed","id":3012067,"avatar_url":"https://avatars.githubusercontent.com/u/3012067?v=3","gravatar_id":"","url":"https://api.github.com/users/aldeed","html_url":"https://github.com/aldeed","followers_url":"https://api.github.com/users/aldeed/followers","following_url":"https://api.github.com/users/aldeed/following{/other_user}","gists_url":"https://api.github.com/users/aldeed/gists{/gist_id}","starred_url":"https://api.github.com/users/aldeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldeed/subscriptions","organizations_url":"https://api.github.com/users/aldeed/orgs","repos_url":"https://api.github.com/users/aldeed/repos","events_url":"https://api.github.com/users/aldeed/events{/privacy}","received_events_url":"https://api.github.com/users/aldeed/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T18:56:42Z","updated_at":"2016-04-08T18:56:42Z","body":"Array#includes is actually an ES7+ proposal, but if it were to be added, I think the correct core-js dependency would just need to be added to the [ecmascript-runtime](https://github.com/meteor/ecmascript-runtime) package\r\n\r\nhttps://github.com/zloirock/core-js#ecmascript-7-proposals"}}