paulmillr / es6-shim

ECMAScript 6 compatibility shims for legacy JS engines
http://paulmillr.com
MIT License
3.11k stars 387 forks source link

Array.prototype.includes() is undefined #426

Closed poloka closed 7 years ago

poloka commented 7 years ago

Array.prototype.includes() is missing from the es6-shim.

ljharb commented 7 years ago

Nope, that's not in ES6. It's in ES2016.

Try https://www.npmjs.com/package/array-includes