mozilla/rhino — pull request #41 by travisennis (2012-05-10 15:17:31+00:00)
Title: String Methods trimLeft and trimRight

I've added the methods trimLeft and trimRight for the native String object. These two methods were introduced with JS 1.8 in Spidermonkey and are also implemented in V8.