15.4.4.5 Array.prototype.join

James Graham jgraham at opera.com
Fri Mar 20 06:23:35 PDT 2009


I may be missing something obvious but I can't see where 
Array.prototype.join prevents unlimited recursion in code like:

a = [1,2]
a.push(a)
a.toString()

(implementations seem to give "1,2," as output in this case).

Also, step 9 of the algorithm in the current draft appears to be blank.


More information about the Es-discuss mailing list