Created
December 24, 2018 22:32
-
-
Save bleroy/7b77305aa7b143ea27d03179f3c4ff80 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
'use strict'; | |
const a = {foo: 'bar'}; | |
let b, c; | |
a[b] = 42; | |
console.log(a[c]); // outputs: 42 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment