Problem 2755 · Medium

Deep Merge of Two Objects

teaching model: copy the first object, then recurse into keys where both sides are objects and otherwise let the second value win.

Open the interactive visualisation