Last active
March 13, 2020 12:48
-
-
Save nonseodion/78984cb5afedf1813bd0681e20ffbd6d to your computer and use it in GitHub Desktop.
This file contains 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
let ifebhor = { | |
carol: "rude", | |
damian: "caring", | |
mac: "handsome", | |
flora: "cute", | |
aave: "class bully" | |
} | |
//mac's property can now be referenced using playboy. | |
let {mac : playboy} = ifebhor; | |
console.log("Girls flock around Mac because he's " + playboy + "."); | |
//Girls flock around Mac because he's handsome. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment