Javascript Append Element to Matriz
var colors= ["red","blue"];
colors.push("yellow");
Friendly Hawk
var colors= ["red","blue"];
colors.push("yellow");
array.push(element)
var fruits = ["222", "vvvv", "eee", "eeee"];
fruits.push("Kiwi");
array = ["hello"]
array.push("world");
const arr = [1, 2, 3, 4];
arr.push(5);
console.log(arr); // [1, 2, 3, 4, 5]
// another way
let arr = [1, 2, 3, 4];
arr = [...arr, 5];
console.log(arr); // [1, 2, 3, 4, 5]
var array = [0,1,3];
array.append(5);
console.log(array); // [0,1,3,5]