multilinebeginnerconst re = /^start/m
console.log(re.multiline) // β true
// ^ and $ match at line boundariesRead RegExp.multiline to check whether the 'm' flag is set on the regular expression.
With g, i, and m flags, multiline is true.
Challenge: Verify that /hi/gim.multiline equals true.