🌈 搜索
📅  最后修改于: 2022-03-11 15:03:07.587000             🧑  作者: Mango
const drinks = ['Cola', 'Lemonade', 'Coffee', 'Water']; const id = 2; const removedDrink = drinks.splice(id, 1);