🌈 搜索
📅  最后修改于: 2022-03-11 15:04:30.445000             🧑  作者: Mango
var str = "1234-5"; var ignore = "-"; console.log([for (i of str) if (!ignore.includes(i)) i]);