Home | History | Annotate | Download | only in src

Lines Matching refs:constructor

44 // If this object gets passed to an error constructor the error will
104 var constructor = obj.constructor;
105 if (!constructor) return ToStringCheckErrorObject(obj);
106 var constructorName = constructor.name;
117 function MakeGenericError(constructor, type, args) {
121 var e = new constructor(kAddMessageAccessorsMarker);
129 * Setup the Script function and constructor.
132 %SetProperty(Script.prototype, 'constructor', Script, DONT_ENUM);
171 not_constructor: ["%0", " is not a constructor"],
542 * @constructor
632 * @constructor
708 var constructor = this.receiver.constructor;
709 if (!constructor)
711 var constructorName = constructor.name;
822 var constructor = this.receiver ? this.receiver.constructor : null;
823 if (!constructor)
825 return this.fun === constructor;
992 %SetProperty(f.prototype, 'constructor', f, DONT_ENUM);