× Introduction Setup Environment Building blocks Built-in functions Data Types Strings Operators Conditional statements Loop statements Functions Arrays Understaing Objects Date Object Number Object Math Object String Object Window Location Navigator History DOM Basics Forms
   Programs
Basic Control Loops Functions Arrays Examples Projects Quick Ref.
   Exercises
Variables Data Types Operators Decision Loops Reeborg's World



JavaScript arrays (store multiple items) programs

1. Create an array with name myArray. Store a string as a first item and a number as a second item. Display them in browser.

View     Try It

2. Create an array with name myFriends. Store at least 5 friend names in it. Display them in sorted order.

View     Try It

3. Ask user to enter friend name and store in myFrieds array. Repeat this till end of the friends list.

View     Try It

4. Remove duplicate entry in the program-3.

View     Try It

5. Devolop a random quotes generation app using arrays.

View     Try It

6. Devolop a fortune teller app using arrays.

View     Try It