Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const defaultConfig = {
- a: true,
- b: false
- }
- const overridingConfig = {
- b: true
- }
- const finalConfig = {
- ...defaultConfig,
- ...overridingConfig
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement