Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

practice-creating-arrays-2-Nathan-A

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.

How to run

node index.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages