Lines Matching refs:primes
144 var primes = new Array(0);
147 for (var d = 0; d < primes.length; d++) {
148 var p = primes[d];
159 primes.push(i);
163 assertEquals(1229, primes.length);
165 var same_primes = Array.prototype.constructor.apply(Array, primes);
167 for (var i = 0; i < primes.length; i++)
168 assertEquals(primes[i], same_primes[i], "prime" + primes[i]);
169 assertEquals(primes.length, same_primes.length, "prime-length");
189 primes[0] = "";
190 primes[1] = holey;
191 assertThrows("String.prototype.concat.apply.apply('foo', primes)");
193 String.prototype.concat.apply.apply(String.prototype.concat, primes),