You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
LeaVerou
changed the title
equals should compare regexps by comparing .source
equals should compare regexps by comparing .source and .flagsJul 10, 2024
So, neither actually. RegExp flags are sorted when reserialized, so we should take that into account when comparing and not fail because of flag ordering.
No description provided.
The text was updated successfully, but these errors were encountered: