summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/tla-many-vars.js
blob: de2e8138055b82d5cd82a68d03ac73a5fd3b1c36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
a = [];
for (i = 0; i < 1000; ++i) {
    a.push("x" + i);
}

// Sync
parseModule(`
    let ${a.join(",")};
    `);

// Async
parseModule(`
    let ${a.join(",")};
    await 1;
    `);