BoundFunction
What Function.prototype.bind returns. ECMAScript 5 section 15.3.4.5.
Constructors
Properties
The scope this function was declared in.
What the name property answers. Empty for an anonymous function.
The object a method was defined on, which super resolves against. Null for a plain function.
BoundFunctionCreate gives the bound function a [Construct] only when its target has one.
[IsExtensible]. Legacy hosts remain extensible until they supply a different contract.
The prototype property: undefined when unset, null when explicitly set to null.
"function", or "undefined" when avoidObjectDetection says so.
Functions
True for an object that has to pretend it is undefined, which only NativeWith does.
Subclasses override this. The base does nothing.
Same as above for a built-in method, which does not get a prototype property.
[DefineOwnProperty], returning false when the host cannot make the requested definition. The legacy default supports its data-property attributes and refuses accessors or flags that put cannot represent. It does not add storage alongside the host's own properties.
Defines a property whose value comes from a lambda that needs nothing but itself.
Defines a method backed by a Kotlin lambda.
A value another part of the engine parked on this object under key.
Converts this object to a primitive, guided by hint.
[GetOwnProperty]. The legacy default describes a mutable, enumerable, configurable data property. Hosts with accessors or other attributes override this operation.
OrdinaryHasInstance for this function, which instanceof falls back to when there is no Symbol.hasInstance to ask: true when this function's prototype is somewhere in instance's prototype chain, and for a bound function whatever instanceof says of its target.
[OwnPropertyKeys], including non-enumerable names and symbols. Keys use the engine's String, Int-index or Symbol representation. The legacy default lists getIds.
[PreventExtensions]. A legacy host cannot enforce this through put, so it refuses.
Seals the object, so no property can be added, removed or changed.
Attaches data that lives outside the engine, or detaches it with null.
Makes value a non-enumerable, non-deletable, read-only prototype on this function.
[SetPrototypeOf] as the spec states it, answering whether the prototype was set: OrdinarySetPrototypeOf (ES 10.1.2.1), whose cycle check walks [Prototype] directly and stops at an object with its own [GetPrototypeOf], a proxy, without calling into it; and for %Object.prototype%, an immutable prototype exotic object, SetImmutablePrototype (ES 10.4.7). Upstream threw from inside the check, walked through a proxy's getPrototypeOf trap, and let Object.prototype take a new prototype.
Sets the attributes of name, length and arity, which differ across the natives.