Great article! I think it is also worth noting that you can't JSON.stringify a Map object, it produces a string with an empty object literal "{}". So if you need to serialize such a structure, you'd have to do it manually.
Log in to continue
We're a place where coders share, stay up-to-date and grow their careers.
Great article! I think it is also worth noting that you can't JSON.stringify a Map object, it produces a string with an empty object literal "{}". So if you need to serialize such a structure, you'd have to do it manually.