Skip to main content

PROTO_ACCESSORS

Constant PROTO_ACCESSORS 

Source
pub const PROTO_ACCESSORS: &[(&str, &[&str])];
Expand description

The ACCESSOR members of each intrinsic prototype — the subset of PROTO_MEMBERS whose descriptor carries a get rather than a value.

Needed because the two are not interchangeable on the PROTOTYPE itself: Map.prototype.size runs a brand check against %Map.prototype% and throws, where a data member reads back its value. Neither existing table records the descriptor kind. Sorted by constructor; the NAMES within a row are not sorted.