QuickBEAM.VM.ObjectModel.Put (QuickBEAM v0.10.9)

Copy Markdown View Source

Property write operations: set, define, and delete for JS objects, arrays, proxies, getters, and setters.

Summary

Functions

Defines an array element and descriptor metadata.

Reads an indexed JavaScript element.

Returns whether a value has a property in its own or prototype chain.

Writes a JavaScript property while respecting arrays, proxies, descriptors, accessors, and constructor statics.

Writes an indexed JavaScript element.

Writes a field using the fast shape path when possible.

Defines or replaces a JavaScript getter property.

Defines or replaces a JavaScript setter property.

Writes a property using an explicit receiver, for Reflect.set semantics.

Returns a list with an index updated, padding holes with :undefined as needed.

Functions

define_array_el(obj, idx, val)

Defines an array element and descriptor metadata.

get_element(obj, idx)

Reads an indexed JavaScript element.

has_property(b, key)

Returns whether a value has a property in its own or prototype chain.

put(obj, key, val)

Writes a JavaScript property while respecting arrays, proxies, descriptors, accessors, and constructor statics.

put(target, key, val, arg4)

put_element(obj, key, val)

Writes an indexed JavaScript element.

put_field(arg, key, val)

Writes a field using the fast shape path when possible.

put_getter(target, key, fun)

Defines or replaces a JavaScript getter property.

put_getter(target, key, fun, arg4)

put_setter(target, key, fun)

Defines or replaces a JavaScript setter property.

put_setter(target, key, fun, arg4)

set(target, key, val, receiver)

Writes a property using an explicit receiver, for Reflect.set semantics.

set_list_at(list, i, val)

Returns a list with an index updated, padding holes with :undefined as needed.