Last active
September 12, 2020 09:48
-
-
Save obetame/d7f29c4b7d53950dd46369643db022a6 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
const obj = { | |
a: 1, | |
b: 2, | |
c: 3, | |
}; | |
with (obj) { | |
a = 3; | |
b = 4; | |
c = 5; | |
} | |
console.log(obj) // output: {a: 3, b: 4, c: 5} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment