Code:
let names= ["Style","List","Raw"];
let results= names.find(x=> x.includes("s"));
console.log(results);
How to get the names which contain "s" from the array names, currently, I am getting only one element as a result but i need all occurrences.