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 Author

Spread operator, great, thanks for your comment Fabio.