console.log(str.includes('')) code example
Example: .includes( string
var str = "Hello world, welcome to the universe.";
var n = str.includes("world");
var str = "Hello world, welcome to the universe.";
var n = str.includes("world");