AbstractEcmaObjectOperations

The spec's abstract operations on objects: integrity levels, species, grouping and the rest.

Types

Link copied to clipboard

How locked down an object is: Object.freeze or Object.seal.

Link copied to clipboard

Whether a key is coerced the way a property name is, or the way a Map key is.

Functions

Link copied to clipboard
fun isConstructor(cx: Context, argument: Any?): Boolean

IsConstructor: does argument have a [Construct] method. Every Rhino function implements Constructable, so each function kind says for itself whether new would get past its own check; upstream took the interface at its word, which made Date.now, arrow functions, generators, methods and accessors constructors to Reflect.construct and species lookups.

Link copied to clipboard
Link copied to clipboard

SpeciesConstructor: the constructor to derive new objects from s, or defaultConstructor.