DEV Community

Discussion on: Javascript DOM Manipulation to improve performance

Collapse
 
fabiobiondi profile image
Fabio Biondi

or by using spread syntax {...elem.style, prop1: "val1" }

Collapse
 
grandemayta profile image
Gabriel Mayta

Spread operator, great, thanks for your comment Fabio.