summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1238582.js
blob: 60286c8eee87c21fb07e974e21d5fba65ff017a3 (plain)
1
2
3
4
if (!('oomTest' in this))
    quit();

oomTest(() => { let a = [2147483651]; [a[0], a[undefined]].sort(); });