Size puzzle

Report a typo

What is the output of the following code?

const secondMap = new Map([
  ["A", 1],
  ["B", 2],
  ["C", 3],
]);

secondMap.clear();
console.log(secondMap.size);
Enter a number
___

Create a free account to access the full topic