Lines Matching refs:new
33 var a = new Array();
46 var a = new Array(j);
59 a = new Array(0, 1);
61 a = new Array(0, 1, 2);
63 a = new Array(0, 1, 2, 3);
65 a = new Array(0, 1, 2, 3, 4);
67 a = new Array(0, 1, 2, 3, 4, 5);
69 a = new Array(0, 1, 2, 3, 4, 5, 6);
71 a = new Array(0, 1, 2, 3, 4, 5, 6, 7);
73 a = new Array(0, 1, 2, 3, 4, 5, 6, 7, 8);
75 a = new Array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
81 var a = new Array(n);
92 var b = eval('new Array(' + str + ')')
109 assertArrayEquals(['xxx'], new Array('xxx'));
111 assertArrayEquals([true], new Array(true));
113 assertArrayEquals([{a:1}], new Array({a:1}));
118 assertThrows('new Array(3.14)');