I know that I’ve had to write an Array.contains function for just about every extension I’ve written, so I know this kind of library would come in handy. These are the functions that got me thinking about this:
String.trim (and maybe ltrim and rtrim, but these tend to be used less)
String.stripTags (not as keen on this one)
Date.format (a pseudo-port of PHP’s date() function)
Any recommendations for other functions that might as well be standard?
Note: As this is being posted on my personal site, this is no guarantee or indication that Netscape Navigator 9 will be supplying this kind of library. If the feedback is positive though, I would definitely bring it up for consideration.