blob: 8a00fd51b0745a222b202eb51721441c0bc8db98 [file] [log] [blame]
// Nested for-of loops on the same slow array get distinct iterators.
var a = [1, 2, 3];
a.slow = true;
var s = '';
for (var x of a)
for (var y of a)
s += '' + x + y + ',';
assertEq(s, '11,12,13,21,22,23,31,32,33,');