Returns an array of all enumerable property keys for an object.
The object to extract keys from
Whether to include keys from the prototype chain
An array of property keys
const keys = ownKeys({ a: 1, b: 2 }); Copy
const keys = ownKeys({ a: 1, b: 2 });
Returns an array of all enumerable property keys for an object.