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.