I was going to store the map as a JSON string in window.localStorage, but I found that I could not convert the map to a JSON string
var map = new Map();
map.set(21,'A');
map.set(22,'B');
console.log(JSON.stringify(map));
ah
I was going to store the map as a JSON string in window.localStorage, but I found that I could not convert the map to a JSON string
var map = new Map();
map.set(21,'A');
map.set(22,'B');
console.log(JSON.stringify(map));
ah