NativeWith
The scope a with statement pushes: every lookup goes to the object it wraps.
Properties
Functions
[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.
thisObj is null when called as a constructor, and then the result has to be a Scriptable.
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.
Backs the instanceof operator.
[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.
[SetPrototypeOf], with extensibility and ordinary prototype-cycle checks.