What will the output of the following code be?
let arr = Array(3).fill({});
[ { }, { }, { } ]
undefined
[ 3, { }, { } ]
[ undefined, undefined, undefined ]
Create a free account to access the full topic