1.0.0 • Published 3 years ago
@sz-sw-le0/object-get-properties v1.0.0
object-get-properties
Returns an array containing all the names of the own properties of the object passed as argument, including non-enumerable properties.
It does not consider inherited properties.
Example usage:
const objectGetProperties = require("object-get-properties")
console.log(objectGetProperties({a: 1, b: 2})) // ["a", "b"]
1.0.0
3 years ago