🌈 搜索
📅  最后修改于: 2022-03-11 14:55:21.798000             🧑  作者: Mango
let arr = ['A', 'B', 'C']; arr = arr.filter(e => e !== 'B'); // will return ['A', 'C']