Let's say I have this code:
let map = new Map();
map.set([2,2], 4);
I would expect for map.get([2,2])
to return 4
, but for some reason it returns undefined
Let's say I have this code:
let map = new Map();
map.set([2,2], 4);
I would expect for map.get([2,2])
to return 4
, but for some reason it returns undefined