DEV Community

Discussion on: 7 Tricks I Use To Rewrite JavaScript Code From My Early Days

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

You can use Object.assign with DOM objects, too.

Collapse
 
nevkatz profile image
Nevin Katz • Edited

Great point about Object.assign(), Pacharapol! I look forward to trying that soon. Again, no one right way to go about it and I very much appreciate your input. What a terrific community of developers we have in this thread.