String js Contais

const string = "foo";
const substring = "oo";

console.log(string.includes(substring));
2 Programmers 1 Bug