The Tor Browser
/ file comparison
Search:
summary
shortlog
changelog
graph
tags
bookmarks
branches
files
help
file
revisions
annotate
diff
comparison
raw
comparison: js/src/jit-test/tests/for-of/arrays-4.js
js/src/jit-test/tests/for-of/arrays-4.js
branch
TOR_BUG_3246
changeset 7
129ffea94266
equal
deleted
inserted
replaced
-1:000000000000
0:2a646691fc9b
1
// Nested for-of loops on the same array get distinct iterators.
2
3
var a = [1, 2, 3];
4
var s = '';
5
for (var x of a)
6
for (var y of a)
7
s += '' + x + y + ',';
8
assertEq(s, '11,12,13,21,22,23,31,32,33,');