DEV Community

Cover image for JavaScript Tip ⚑ Object.assign() method
Shan Asif
Shan Asif

Posted on

JavaScript Tip ⚑ Object.assign() method

JavaScript Tip ⚑ Object.assign() method

πŸ’₯ Copies from one or more source objects to the target object.

πŸ”₯ It accepts two parameters (target object, ...sources)

❓ Your recent use-case of Object.assign()

JavaScript Tip ⚑ Object.assign method

Top comments (0)