sourcebeginnerconst re = /hello world/i
console.log(re.source) // β 'hello world'Read RegExp.source to get the pattern text of the regular expression without slashes or flags.
The source property returns the text of the pattern without the surrounding slashes or any flags.
Challenge: Verify that /hello/.source equals 'hello'.