function used to search for contains in string in javasciprt code example
Example: check for substring javascript
const string = "javascript";
const substring = "script";
console.log(string.includes(substring)); //true
const string = "javascript";
const substring = "script";
console.log(string.includes(substring)); //true