DEV Community

Jan Prazak
Jan Prazak

Posted on

1

Copying objects with Object.assign()

The weird part of Object.assign finally cracked :-) This is a short code snippet which explains how Object.assign() works. There is some console output but everything important is already written in JS code comments.

Top comments (0)

Visualizing Promises and Async/Await 🤯

async await

☝️ Check out this all-time classic DEV post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay