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

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

     1 // |jit-test| error: TypeError
     2 load(libdir + "iteration.js");
     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