function addNewArray(newArr){ newArr.push("Dominic"); return newArr; } //calling a function addNewArray(newArr["My", "is" ])//Output:["My", "is", "Dominic"]