Home | History | Annotate | Download | only in src

Lines Matching refs:constructor

45 // If this object gets passed to an error constructor the error will
92 var constructor = obj.constructor;
93 if (!constructor) return ToString(obj);
94 var constructorName = constructor.name;
103 function MakeGenericError(constructor, type, args) {
107 var e = new constructor(kAddMessageAccessorsMarker);
115 * Setup the Script function and constructor.
118 %SetProperty(Script.prototype, 'constructor', Script, DONT_ENUM);
155 not_constructor: "%0 is not a constructor",
452 * @constructor
542 * @constructor
628 var constructor = this.receiver.constructor;
629 if (!constructor)
631 var constructorName = constructor.name;
731 var constructor = this.receiver ? this.receiver.constructor : null;
732 if (!constructor)
734 return this.fun === constructor;
891 %SetProperty(f.prototype, 'constructor', f, DONT_ENUM);