1. Applying App Configuration Defaults
Frontend DeveloperBackground
An application receives a partial user settings object from local storage.
Problem
The app needs to ensure 'theme' and 'notifications' keys exist, but must not overwrite the user's existing 'theme' choice.
How to use
Paste the user's object into 'Target Object' and the default settings into 'Source 1'.
Target: {"theme": "dark"} | Source 1: {"theme": "light", "notifications": true}Outcome
The result is {"theme": "dark", "notifications": true}, preserving the user's theme while adding the missing notification setting.