summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug651451-2.js
blob: d5594b89228cfcc22633c674a0e451d27c559ba9 (plain)
1
2
3
4
5
6
var arr = [1, 2, 3, 4, 5];
arr.length = 100;
arr.pop();
assertEq(arr.length, 99);
arr.pop();
assertEq(arr.length, 98);