VisuAl

Array

Edit value at index:

Array [

] =

Array.push

Add a value to the end

Array.pop

Remove the last value

Array.unshift

Add a value to the start

Array.shift

Remove the first value

Array.splice

At start, remove a number of elements. Add elements after splice.

Array.splice(

Start

,

# of Elements

(Optional)

,

Add Element

(Optional)

)

Array Info

From Wikipedia:

In computer science, an array data structure, or simply an array, is a data structure consisting of a collection of elements (values or variables), each identified by at least one array index or key. An array is stored such that the position of each element can be computed from its index tuple by a mathematical formula.

More Info...