What happens in the following code snippet?
const set = new Set([1, '1']); console.log(set.size);
1
2
0
Error