Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[[Fix]] Don't warn when RegExp() is used without 'new'. #3529

Merged
merged 1 commit into from Feb 6, 2021
Merged

[[Fix]] Don't warn when RegExp() is used without 'new'. #3529

merged 1 commit into from Feb 6, 2021

Commits on Feb 3, 2021

  1. [[Fix]] Don't warn when RegExp() is used without 'new'.

    https://262.ecma-international.org/#sec-regexp-constructor
    ...
    function call RegExp(…) is equivalent
    to the object creation expression new RegExp(…)
    with the same arguments
    ...
    lauriro committed Feb 3, 2021
    Copy the full SHA
    df7d2c1 View commit details
    Browse the repository at this point in the history