📜  打字稿在数组中查找多个项目并返回找到 - TypeScript 代码示例
📅  最后修改于: 2022-03-11 14:48:26.393000             🧑  作者: Mango
代码示例1
let names= ["Style","List","Raw"];
let results= names.filter(x => x.includes("s"));
console.log(results); //["List"]