JS -Array Element hinzufügen
array.push(element)
Common Mynah
array.push(element)
//create an array like so:
var colors = ["red","blue","green"];
//you can loop through an array like this:
for (var i = 0; i < colors.length; i++) {
console.log(colors[i]);
}
var array = [];
array.push(value);