
1. assign() It clones and copy the values of source object into target object and return the newly created object by merging them. // 1. assign() const fruit = { name: 'Water Melon', icon: '🍉', type: 'Fruit' }; const beverages = { n...
Enthusiastic Developer
I am Full Stack Developer. Web Technologies Enthusiastic.
Markdown supported · ⌘↵ to post
No responses yet.