Last active
June 7, 2019 21:30
-
-
Save igeligel/1d09bbfb07eaf5f079b985a12ee39ccd to your computer and use it in GitHub Desktop.
This file contains hidden or 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 defaultConfig = { | |
a: true, | |
b: false | |
} | |
const overridingConfig = { | |
b: true | |
} | |
const finalConfig = { | |
...defaultConfig, | |
...overridingConfig | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment