🌈 搜索
📅  最后修改于: 2022-03-11 15:02:11.462000             🧑  作者: Mango
const initialArray = [1, 2, 3];const newArray = update(initialArray, {$push: [4]}); // => [1, 2, 3, 4]