Closed saghul closed 8 years ago
It would be a nice to have.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes
It's part of ES7/ES2016, not ES6/ES2015.
I recommend https://www.npmjs.com/package/array-includes.
Ops, thanks for the pointer!
It would be a nice to have.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes