ignoreCasebeginnerconst re = /hello/i
console.log(re.ignoreCase) // β true
'HELLO'.match(re) // matchesRead RegExp.ignoreCase to check whether the 'i' flag is set on the regular expression.
The ignoreCase property is true when the 'i' flag is set.
Challenge: Verify that /hi/i.ignoreCase equals true.