allKeys
AllKeys is a term used in programming to describe a function or utility that collects the property names (keys) associated with a value. It is not a standard language feature, but a convention adopted by libraries and codebases to offer a convenient way to enumerate keys in a data structure. The exact behavior of an allKeys function varies by implementation: some versions return only the object’s own keys, others include keys from the entire prototype chain, and still others may expose non-enumerable or symbol-keyed properties.
In JavaScript, key retrieval is distributed across several built-ins, which an allKeys utility may combine or
Typical use cases for an allKeys utility include debugging, data inspection, or preparing a map of properties
See also: Object.keys, Object.getOwnPropertyNames, Reflect.ownKeys, and key enumeration in prototype chains.