Created
February 17, 2021 19:30
-
-
Save jonathan-fielding/b828f2206ec77e7b66598c4ec2eda0ac to your computer and use it in GitHub Desktop.
Revisions
-
jonathan-fielding created this gist
Feb 17, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ const person = { name: 'Jonathan', age: 21, gender: 'male' } console.log(Object.keys(person)); // Result [ 'name', 'age', 'gender' ]