Returns the direct properties of the value based on Object.getOwnPropertyNames result.
value
Object.getOwnPropertyNames
The object that contains the own properties.
The direct properties.
1.0.0
ownKeys({ a: 2 }); // => "a" Copy
ownKeys({ a: 2 }); // => "a"
Returns the direct properties of the
valuebased onObject.getOwnPropertyNamesresult.