MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

NathanW

Member since
NathanW

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