Created
November 27, 2019 09:29
-
-
Save thatkookooguy/7c6c4a20bbacac190146eaa32cb104b6 to your computer and use it in GitHub Desktop.
Nice! didn't know you can do that!
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 nice = 'pizza'; | |
let bad = { [ nice ]: 'lazagna' }; | |
console.log(bad); | |
// { pizza: "lazagna" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment