What is printed in the following situation?
const map = new Map([[1, 'one'], [2, 'two']]);
const keys = [...map.keys()];
console.log(keys);
What is printed in the following situation?
const map = new Map([[1, 'one'], [2, 'two']]);
const keys = [...map.keys()];
console.log(keys);