Skip to main content

ITERATOR_PROTOS

Constant ITERATOR_PROTOS 

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

Prefix of the hidden property-map entry that reserves an accessor’s slot in own-key insertion order (see set_accessor). The built-in iterator prototypes ensure_iterator_protos installs: the native_protos key (also the @proto:<key>:next thunk’s class) and the @@toStringTag each carries, which is also the brand an iterator of that kind reports.