For Example, I need to store [0,0] as the key of the map. If I simply do a map. set([0,0],1), it treats each [0,0] as a different key but it should be the same.
let map=new Map();
map.set([0,0],1);
mapset([0,1],2);
map.set([0,0],3); // here js treat this [0,0] as different key
How can I achieve this?