illustration for Merge Objects in JavaScript
pro

Merge Objects in JavaScript

Instructor

Chris Achard

8m closed-captioning
·
2 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.8
104
people completed
Published 6 years ago
|
Updated 3 years ago

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.

Course Content

8m • 2 lessons

    You might also like these resources:

    illustration for Learn ES6 (ECMAScript 2015)

    This course takes a look at the features that JavaScript has available with ES6 (ECMAScript 2015).

    illustration for Understand JavaScript Arrays
    Shane Osbourne・1h 10m・Course

    Explore JavaScript (es6) array methods. We will slice, join, map, and reduce our way to better understanding of the powerful array methods that modern JavaScript delivers.

    illustration for Advanced JavaScript Foundations
    Tyler Clark・45m・Course

    You’ll be taking things to the next level, shining a light into “black-box” concepts like prototypes, the this keyword, and what primitive types are.