Array.prototype.indexOf typo

Thomas L. Shinnick tshinnic at io.com
Wed Apr 8 10:31:12 PDT 2009


At 09:53 AM 4/8/2009, James Graham wrote:
>Unless I am mistaken k is the current array index and n is the 
>initial array index, so the step "Repeat while k < n" is a noop. I 
>presume it should say "Repeat while k < length"

Yes, this was changed after the last errata.

15.4.4.14        Array.prototype.indexOf     p.124
           "9.   Repeat, while k<n"
     -->
           "9.   Repeat, while k<len"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20090408/f2ad76b4/attachment.html>


More information about the es-discuss mailing list