summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1620196.js
blob: 34fda22c80f0ad1d2098801502c7c17acbf13a22 (plain)
1
2
3
4
5
6
7
gczeal(4);
let heldValues = [];
registry = new FinalizationRegistry(value => {
    heldValues.push(value);
});
registry.register({}, 42);
gc();