Skip to content

10-4-pursuit/01-05-variables-and-datatypes-arrays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Variables and Data Types: Arrays

Objective

Understand and practice using arrays in JavaScript.

Instructions

  1. In this exercise, you will work with arrays and learn how to store multiple values.
  2. Open and complete the tasks below.

Tasks

  1. Create an array 'fruits' with the names of three different fruits.
  2. Add two more fruits to the 'fruits' array.
  3. Create an array 'numbers' and fill it with five different numbers.
  4. Print the first and last item of the 'numbers' array.

Submission

Commit your changes and push them to this repository. Ensure your file demonstrates the use of arrays effectively.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published