es6 if statement multiple conditions code example
Example: multiple conditions for JavaScript .includes() method
const str = "hi, there"
const res = str.includes("hello") || str.includes("hi") || str.includes('howdy');
console.log(res); // true
const str = "hi, there"
const res = str.includes("hello") || str.includes("hi") || str.includes('howdy');
console.log(res); // true