summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug1481032.js
blob: f1384d6e967d0ac1fccf81a424ea15e38de6b916 (plain)
1
2
3
4
5
6
x = [];
x[6] = 0;
Object.preventExtensions(x);

// Don't assert.
x.length = 1;