Array.prototype.indexOf typo

Thomas L. Shinnick tshinnic at
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.        Array.prototype.indexOf     p.124
           "9.   Repeat, while k<n"
           "9.   Repeat, while k<len"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list