mozilla

NathanW

Member since

Recent Docs Activity

View all activity
Page Date Comment

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