Package org.mozilla.javascript
Class AbstractEcmaObjectOperations
java.lang.Object
org.mozilla.javascript.AbstractEcmaObjectOperations
Abstract Object Operations as defined by EcmaScript
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConstructablespeciesConstructor(Context cx, Scriptable s, Constructable defaultConstructor) Implement the ECMAScript abstract operation "SpeciesConstructor" defined in section 7.2.33 of ECMA262.
-
Constructor Details
-
AbstractEcmaObjectOperations
public AbstractEcmaObjectOperations()
-
-
Method Details
-
speciesConstructor
public static Constructable speciesConstructor(Context cx, Scriptable s, Constructable defaultConstructor) Implement the ECMAScript abstract operation "SpeciesConstructor" defined in section 7.2.33 of ECMA262.- Parameters:
cx- contexts- the object for which we will find the "species constructor" as per the specdefaultConstructor- as per the spec, the value that will be returned if there is no constructor on "s" or if the "species" symbol is not set.- See Also:
-