💻 Frontend Developer. 📱 Tech passionate. 🎲 Board Game lover. 🏈 Football rookie.
Nothing here yet.
To create an array and fill it at the same time we'll create an Array instance and then we'll use the fill() method. For example: const myNumbers = Array(4).fill(0) // [ 0, 0, 0, 0 ] We place as a parameter to fill() the value we want to place insid...
