java.lang.Object
org.mozilla.javascript.AbstractEcmaObjectOperations
Abstract Object Operations as defined by EcmaScript
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisConstructor(Context cx, Object argument) IsConstructor ( argument )static longlengthOfArrayLike(Context cx, Scriptable o) LengthOfArrayLike ( obj )static 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:
-
lengthOfArrayLike
LengthOfArrayLike ( obj ) -
isConstructor
IsConstructor ( argument )
-