Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

egghead.io

Merge Objects in JavaScript

via egghead.io

Overview

Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
When merging two objects in javascript, you can shallow merge them, or deep merge them. You can do it strictly through JavaScript or you can use a library such as Lodash and deepmerge to achieve your desired outcome. These videos show how to do both, and talk about the pros and cons of each approach.

Syllabus

  • Shallow Merge Two Objects in JavaScript
  • Deep Merge Objects in JavaScript with Spread, Lodash, and Deepmerge

Taught by

Chris Achard

Reviews

Start your review of Merge Objects in JavaScript

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.