Details
-
Task
-
Status: Reported
-
P4: Low
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Currently we have a polyfill for a non-standard utility function Array.prototype.contains. ES6 introduced a function that does the same thing, called Array.prototype.includes.
We should add Array.prototype.includes, and deprecate Array.prototype.contains.