array + java script + adding element in every item code example
Example: how to add to an array
var ar = ['one', 'two', 'three'];
ar[3] = 'four'; // add new element to ar
var ar = ['one', 'two', 'three'];
ar[3] = 'four'; // add new element to ar