Skip to main content

PROTO_MEMBERS

Constant PROTO_MEMBERS 

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

The own property names of each intrinsic prototype, in the engine’s own order. A name prefixed + is ENUMERABLE — true only for the WebIDL interfaces (URL, URLSearchParams), whose members are plain assigned properties, never for an ECMAScript builtin’s.

Separate from BUILTIN_ARITY because that table holds FUNCTIONS only: Map.prototype.size, RegExp.prototype.source and the twelve URL.prototype components are accessors, so the answer to Object.getOwnPropertyNames(Map.prototype) is not derivable from it. Sorted by constructor for lookup; the NAMES within a row are not sorted.