const initialArray = [1, 2, 3];const newArray = update(initialArray, {$push: [4]}); // => [1, 2, 3, 4]