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 Function() is used without 'new'. #3531

Merged
merged 1 commit into from Feb 13, 2021
Merged

[[FIX]] Don't warn when Function() is used without 'new'. #3531

merged 1 commit into from Feb 13, 2021

Commits on Feb 8, 2021

  1. [[FIX]] Don't warn when Function() is used without 'new'.

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