Internal
Answer if two RegExps are equal. Two RegExps are equal when they both have the exact source and flags.
The first RegExp
The second RegExp
true if both RegExp are equal, false otherwise.
true
false
Answer if two RegExps are equal. Two RegExps are equal when they both have the exact source and flags.