We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TypeScript Version: 2.1.6
Code
[...Array(5)]
Expected behavior: Array filled with undefined 5 times (this is how it should be by the spec and how Chrome/FF/Safari do it)
undefined
Actual behavior: Empty array with length set to 5