Skip to main content

New answers tagged

0 votes

Map not being set with values returned in a promise

This is because for Javascript's Map has no No native support for serialization or parsing. -MDN Doc Quote from here This is why when you console.log the Map after JSON.stringify, its returning an ...
prem22's user avatar
  • 664
1 vote
Accepted

Map not being set with values returned in a promise

The Map object doesn't like to JSON.stringify. See this Stack Overflow Q&A. Basically, JSON.stringify treats a Map as a normal Object, and doesn't know how to serialize the key-value pairs. That ...
sfdcfox's user avatar
  • 497k

Top 50 recent answers are included