Creates an array of the own and inherited enumerable property names of object.
Note: Non-object values are coerced to objects.
Optional
The object to query.
An array of property names.
Creates an array of the own and inherited enumerable property names of object.
Note: Non-object values are coerced to objects.