Home | History | Annotate | Download | only in js

Lines Matching full:prototype

109 // Predeclare the instance variables on the prototype. Otherwise setting them in
110 // the constructor will leak the instance through settings on Object.prototype.
111 Stack.prototype.length = null;
112 Stack.prototype.values = null;
383 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.join");
395 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.pop");
415 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.push");
517 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.reverse");
536 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.shift");
563 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.unshift");
587 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.slice");
660 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.splice");
845 // Copy elements in the range 0..length from obj's prototype chain
847 // of a prototype property.
876 // where a prototype of obj has an element. I.e., shadow all prototype
946 // For compatability with Webkit, do not expose elements in the prototype.
964 // the prototype chain on non-Array objects.
969 // if an element on the prototype chain has an element that
987 // For compatibility with JSC, we shadow any elements in the prototype
997 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.sort");
1025 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.filter");
1059 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.forEach");
1085 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.some");
1108 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.every");
1119 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.map");
1188 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.lastIndexOf");
1223 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.reduce");
1262 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.reduceRight");
1273 // ES#sec-array.prototype.copywithin
1274 // (Array.prototype.copyWithin ( target, start [ , end ] )
1276 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.copyWithin");
1346 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.find");
1373 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.findIndex");
1413 CHECK_OBJECT_COERCIBLE(this, "Array.prototype.fill");
1490 // Set up non-enumerable constructor property on the Array.prototype
1492 %AddNamedProperty(GlobalArray.prototype, "constructor", GlobalArray,
1495 // Set up unscopable properties on the Array.prototype object.
1507 %AddNamedProperty(GlobalArray.prototype, unscopablesSymbol, unscopables,
1531 // Array prototype functions that return iterators. They are exposed to the
1540 // Set up non-enumerable functions of the Array.prototype object and
1544 utils.InstallFunctions(GlobalArray.prototype, DONT_ENUM, [
1575 utils.ForEachFunction = GlobalArray.prototype.forEach;
1582 %FinishArrayPrototypeSetup(GlobalArray.prototype);
1584 // The internal Array prototype doesn't need to be fancy, since it's never