Created
February 24, 2020 01:04
-
-
Save BetterProgramming/8561c37997b7a66c310bac3f6483be83 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 obj = { | |
foo: { | |
bar: { | |
baz: 1 | |
} | |
} | |
} | |
with(obj.foo.bar) { | |
baz = 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment