What happens in the following code snippet?
const map = new Map();
map.set(NaN, 'Not a number');
console.log(map.has(NaN));
What happens in the following code snippet?
const map = new Map();
map.set(NaN, 'Not a number');
console.log(map.has(NaN));