3 <script src=
"../htmlrunner.js"></script>
5 window
.onload = function(){ startTest("dromaeo-object-array", 'bde4f5f4');
7 var ret
= [], tmp
, num
= 500;
10 // TESTS: Array Building
12 test("Array Construction, []", function(){
13 for ( var j
= 0; j
< i
* 15; j
++ ) {
19 test("Array Construction, new Array()", function(){
20 for ( var j
= 0; j
< i
* 10; j
++ )
24 test("Array Construction, unshift", function(){
26 for ( var j
= 0; j
< i
; j
++ )
30 test("Array Construction, splice", function(){
32 for ( var j
= 0; j
< i
; j
++ )
36 test("Array Deconstruction, shift", function(){
38 for ( var j
= 0; j
< i
; j
++ )
42 test("Array Deconstruction, splice", function(){
44 for ( var j
= 0; j
< i
; j
++ )
48 test("Array Construction, push", function(){
50 for ( var j
= 0; j
< i
* 25; j
++ )
54 test("Array Deconstruction, pop", function(){
56 for ( var j
= 0; j
< i
* 25; j
++ )