summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/collections/bug-1381423.js
blob: 59b29d3f01407aeb4ca2bb02b5bd9118add0adab (plain)
1
2
3
4
5
var s = new Set(Array(1000).fill(0).map((v, k) => k + 1));
do {
    var n = [...s].length;
    assertEq(n, 1000);
} while (!inIon());