1. Updating User Profile Settings
Frontend DeveloperBackground
A user profile object needs to be updated with new preferences received from a settings form.
Problem
Manually merging the base profile with new settings is error-prone.
How to use
Paste the current profile into Target Object and the new settings into Source 1.
Target: {"theme": "light", "notifications": true}, Source 1: {"theme": "dark"}Outcome
The resulting object is {"theme": "dark", "notifications": true}.