Lines Matching refs:prototype
121 assertTrue(e.toString().indexOf("Function.prototype.apply") != -1,
122 "exception does not contain Function.prototype.apply: " +
133 assertTrue(e.toString().indexOf("Function.prototype.apply") != -1,
134 "exception does not contain Function.prototype.apply [" +
165 var same_primes = Array.prototype.constructor.apply(Array, primes);
172 Array.prototype["1"] = "sep";
178 assertEquals("morseper", String.prototype.concat.apply("", holey),
180 assertEquals("morseper", String.prototype.concat.apply("", holey, 1),
182 assertEquals("morseper", String.prototype.concat.apply("", holey, 1, 2),
184 assertEquals("morseper", String.prototype.concat.apply("", holey, 1, 2, 3),
186 assertEquals("morseper", String.prototype.concat.apply("", holey, 1, 2, 3, 4),
191 assertThrows("String.prototype.concat.apply.apply('foo', primes)");
193 String.prototype.concat.apply.apply(String.prototype.concat, primes),
196 delete(Array.prototype["1"]);