JavaScript tem string
const string = "Hello"
const substring = "llo"
console.log(string.includes(substring))
Smarty Hearty
const string = "Hello"
const substring = "llo"
console.log(string.includes(substring))
var string = "foo",
var substring = "oo";
console.log(string.includes(substring));