bug1205870.js (380B)
1 // Make sure that unboxed arrays can be created with all possible inline 2 // capacities for the different sizes. 3 var bools = []; 4 var ints = []; 5 var doubles = []; 6 for (var i = 0; i < 150; i++) { 7 bools.push(false); 8 ints.push(0); 9 doubles.push(0.5); 10 } 11 for (var i = 0; i < 150; i++) { 12 bools = bools.slice(1); 13 ints = ints.slice(1); 14 doubles = doubles.slice(1); 15 }