Upload files to "arrays"

This commit is contained in:
2025-10-27 12:26:06 -05:00
parent 3683031350
commit ef28aafda1
5 changed files with 146 additions and 0 deletions

8
arrays/Example1.js Normal file
View File

@@ -0,0 +1,8 @@
// creating an array of strings
let animals = ["Zebra", "Koala", "Lion", "Elephan", "Eagle"]
// displaying the items stored in array animals
console.log(animals)
console.log("\narray contains "+ animals.length +" items")