Simply, this worked for me:
```js
[...Array(5)].map(...)
```