new array from push code example
Example: pushing to an array
array = ["hello"]
array.push("world");
console.log(array);
//output =>
["hello", "world"]
array = ["hello"]
array.push("world");
console.log(array);
//output =>
["hello", "world"]