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.
Confirm that ignoreCase is strictly a boolean.
Challenge: Verify that /pattern/i.ignoreCase === true.