summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/symbol-in-loop.js
blob: cddef52655c522267adacb71b61bbaacbef5ba61 (plain)
1
2
3
4
5
6
7
8
function f() {
    return Object(Symbol());
}

for (var i = 0; i < 4; i++) {
    f();
    gc();
}