Last active
February 18, 2021 23:21
-
-
Save jonathan-fielding/b8c5f2af98fea4815ade8104fc2b5dbe to your computer and use it in GitHub Desktop.
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 characters
const { name, age, gender } = { | |
name: 'Jonathan', | |
age: 21, | |
gender: 'male' | |
}; | |
console.log(name); // Outputs 'Jonathan' | |
console.log(age); // Outputs '21' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment