Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

BendingBender

Member since
BendingBender

Recent Docs Activity

View all activity
Page Date Comment

Array.prototype.find()


adds strict mode to prevent getting window obj in 'this' reference when called as function

Array.prototype.findIndex()


adds strict mode to prevent getting window obj in 'this' reference when called as function

Array.prototype.includes()


added throwing TypeErrors when method is called on null or undefined, according to spec

Array.prototype.findIndex()


changed incorrect check `===null` to `==null` to test for `null` *and* `undefined` (even the error that is being thrown by this code states that it is a check for null and undefined)