Moving String.prototype.substr to normative part of the spec
waldron.rick at gmail.com
Fri Aug 3 09:46:59 PDT 2012
On Friday, August 3, 2012 at 12:24 PM, David Bruant wrote:
> A code joke from a colleague  revealed  that
> String.prototype.substr is not part of ES5.1 as normative.
> Kangax tables indicate that this property is in all modern browsers .
> I think it'd be worth moving this method to the normative part of the
> spec and that tests be added to test262 (since tests are on a chapter
> basis, I assume there is currently none for this method).
The method is in an annex (I'm mobile and can't really look it up).
With slice and substring standardized, there would be a lot repeated similar functionality
>  https://twitter.com/g_marty/status/231404856492036096
>  https://twitter.com/mathias/status/231418712580845568
>  http://kangax.github.com/es5-compat-table/non-standard/
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss