push into copy of array without mutating original array code example Example: how to push into array javascript without mutating const newArray = array.contact(newItem);