Creates an array of all properties (enumerable or not) found directly upon a given object.
-
Updated
Jan 4, 2023 - JavaScript
Creates an array of all properties (enumerable or not) found directly upon a given object.
Shows a difference between getOwnPropertyNames and Object.keys
Add a description, image, and links to the getownpropertynames topic page so that developers can more easily learn about it.
To associate your repository with the getownpropertynames topic, visit your repo's landing page and select "manage topics."