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.

john.watts

Member since
john.watts

Recent Docs Activity

View all activity
Page Date Comment

String.prototype.trim()


Update polyfill to handle   because by far the most common place to want it is in IE7 and IE8 which don't treat it as whitespace https://stackoverflow.com/questions/13211077/matching-a-non-breakable-white-space-in-ie7-and-ie8-in-javascript