JS

Objects in JavaScript - Extend an object in JavaSc...

10.

How can you extend an object in JavaScript?

Using the Object.assign() method.

Using the Object.create() method.

Using the spread operator ...

Using the Object.extend() method.