Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

krennecke (Klaus Rennecke)

Member since
krennecke

Recent Docs Activity

View all activity
Page Date Comment

String.prototype.startsWith()


Polyfill: For small values of position (including zero), using lastIndexOf avoids searching the full string for a mismatch.