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.

NathanW

Registrato in data
NathanW

Aggiornamenti alla documentazione

Mostra tutte le attività
Pagina Data Commento

String.prototype.endsWith()


Fixed buggy implementation, made it ES6-compatible, and removed redundant Object.defineProperty configurations.

HTMLCollection


Removed broken link

Strict mode


String.prototype.endsWith()


Fixed polyfill; it was incorrectly returning true for: "a".endsWith("a", 0);

String.prototype.endsWith()


Corrected my previous polyfill correction (`"a".endsWith("bc")` was returning `true` instead of `false`).