DEV Community

Discussion on: Why to use Maps over Objects in JS ?

Collapse
 
sebbdk profile image
Sebastian Vargr

hmm maybe, i think the most use-cases for this i have are usually state related, and since i want state to be serialisable into json, i would have to make conversion to/from maps to get the benefit. :/

Do you have any none state related examples i can use to think about this?

Some comments have been hidden by the post's author - find out more