Answers for "typoescript find multiple items in array and return found"

0

typoescript find multiple items in array and return found

let names= ["Style","List","Raw"];
let results= names.filter(x => x.includes("s"));
console.log(results); //["List"]
Posted by: Guest on June-02-2020

Code answers related to "typoescript find multiple items in array and return found"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language