sourceintermediateconst 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.
An empty RegExp /(?:)/ has a source of '(?:)' to avoid ambiguity with comments.
Challenge: Verify that /(?:)/.source equals '(?:)'.