DEV Community

Discussion on: JavaScript Map is getting upsert!

Collapse
 
drmandible profile image
DrMandible

Is this different than assigning new values with spread operator?

Collapse
 
laurieontech profile image
Laurie

The spread operator is not valid inside Map's set function so far as I am aware.