BendingBender

Учасник з
BendingBender

Недавня активність в документації

Переглянути всю активність
Сторінка Дата Коментар

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)