DEV Community

Cover image for JavaScript Tip ⚡ Object.assign() method
Shan Shah
Shan Shah

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)