JavaScript array-like, iterator-like, property-like, constructor-like things (2026)
JavaScript-like things
i think we need a new jargon in js. “constructor-like” thing. e.g. the
BigInt()
and
Symbol(),
because they feels like constructors but technically are not.
- rhyme with “array-like” (
Array.isArrayfalse) - “iterator-like” (iterators not descentant of
Iterator.prototype) - “property-like” (private fields in class).