Note: this implies an array of 7 empty slots, not slots with actual undefined values
What does it mean?
const foo = Array(2) undefined const bar = [undefined, undefined] undefined foo === bar true foo [undefined × 2] bar [undefined, undefined]
What’s the difference between them? Is there any use case that I can only use one but not the other?