DEV Community

Kevin Sullivan
Kevin Sullivan

Posted on

Initializing array with length

Straight to the point....

> Array.from({ length: 5 })
[ undefined, undefined, undefined, undefined, undefined ]
⭐ Must Read: wolverineks/initializing array with length f - ประเด็นร้อน ⭐ Must Read: wolverineks/initializing array with length f - ประเด็นร้อน

What?!?

Yah....I know, right....

Top comments (0)