DEV Community

Jan P.
Jan P.

Posted on

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.

Discussion (0)