js/src/jit-test/tests/basic/bug770952.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:f794092cafc2
1 // |jit-test| error: TypeError
2 load(libdir + "iteration.js");
3
4 eval("var x; typeof x")
5 Array.prototype[std_iterator] = function () { for(y in x); };
6 for (var v of ['a', 'b', 'c', 'd'])
7 s = v;

mercurial