const arr = [];
for (let i = 0; i < 10000; i++) {
arr.push(["key"+i, "value"+i]);
}
const map = new Map(arr);
const key = Math.random()*10000;if(map.has(key)){
const result = map.get(key);
result + Math.pow(2,2);
}
const element = map.get(key);
if(element){
element + Math.pow(2,2);
}