Here\'s my array (from Chrome console):
Here\'s the pertinent part of code:
you can use
const newMap = JSON.parse('{}'); newMap[name] = value;
and stingfy newMap. The result is pars as Map