2.1.81 [ECMA-262/6] Section 21.1.3 Properties of the String Prototype Object
V0076: String.prototype is a string instance object, not an ordinary object
The specification states:
-
21.1.3 Properties of the String Prototype Object The String prototype object is the intrinsic object %StringPrototype%. The String prototype object is itself an ordinary object. It is not a String instance and does not have a [[StringData]] internal slot.
All document modes (All versions)
The String
prototype object is
a String
instance, not an ordinary object.