On Apr 1, 2011, at 1:02 PM, Jeff Walden wrote: > On 04/01/2011 12:45 PM, Irakli Gozalishvili wrote: >> I just recently found out that `Object.prototype.trimLeft / trimRight` are >> not part of ES5. Still many modern browsers (FF, Safari, Chrome) implement >> it. > > String.prototype.*, but yeah. I'm not sure why these weren't standardized > when trim was added, to be honest.
Nobody advocated for them. Smaller libraries are easier to learn than bigger libraries. How often when you need to trim on the right or left is it also important that you don't trim the other end? Allen _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

