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...

Markdown supported Β· ββ΅ to post
No responses yet.