String.prototype.includesintermediateconst str = 'Hello, World!'
str.includes('World') // β true
str.includes('xyz') // β false
str.includes('Hello', 1) // β falseUse includes() to check if a string contains a specific substring, with an optional start position.
.includes() is case-sensitive.
Challenge: Implement includesIgnoreCase(str, sub) that checks for sub case-insensitively.
includesIgnoreCase('Hello World', 'hello') // β true