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

Membro desde
NathanW

Atividade recente na documentação

Ver toda a atividade
Página Data Comentário

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`).