DEV Community

loading...

Discussion on: JavaScript Map is getting upsert!

Collapse
laurieontech profile image
Laurie Author

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