Array

Let fruits = ["Apple", "Orange", "Plum"];
Let fruits = ["Apple", "Orange", "Plum"];

alert( fruits[0] ); // Apple
alert( fruits[1] ); // Orange
alert( fruits[2] ); // Plum

There exists a special data structure, to store ordered collections.

Syntax

Let arr = new Array();
let arr = [];

Array — Structure map

Clickable & Draggable!

Array — Related pages: