A JavaScript practice exercise demonstrating array initialization with the Array constructor, the .fill() method (including the start/end overload that updates a slice of slots), and populating an array with a for loop. The script runs three tasks: building a 7-slot array filled with "Hello", overwriting the first three slots with "Hi", and filling a 5-slot array with multiples of 10.
node index.js