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.
The multiline property always returns a boolean.
Challenge: Verify that typeof /hi/m.multiline is 'boolean'.