[Object: null prototype]
utilities
const object = require('@kamicane/object')
object()
object(null)
object({ a: 1, b: 2, c: 3 })
object({ a: 1, b: 2 }, { c: 3 }, { a: 2 })
object.hasOwn({ a: 1 }, 'a')
;[...object.keys({ a: 1, b: 2, c: 3 })]
;[...object.values({ a: 1, b: 2, c: 3 })]
;[...object.entries({ a: 1, b: 2, c: 3 })]
While it is easy to imagine that all iterators could be expressed as arrays, this is not true. Arrays must be allocated in their entirety, but iterators are consumed only as necessary and thus can express sequences of unlimited size. - MDN