NativeStringIterator
The iterator behind for (const ch of "text"): one code point per step.
Properties
Functions
True for an object that has to pretend it is undefined, which only NativeWith does.
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.
What instanceof asks once this object has no Symbol.hasInstance, which ScriptRuntime.instanceOf has already looked for: OrdinaryHasInstance for something that can be called, and a TypeError for anything else. Upstream looked the method up again here and called it with this object as its argument in place of instance, and walked instance's chain for this object itself rather than for its prototype.
[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.
[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.