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

Check shadow variable to identifier in default parameters #10053

Merged
merged 1 commit into from Dec 13, 2019

Commits on Jun 4, 2019

  1. Check shadow variable to identifier in default parameters

    When there is a variable declaration inside the function body, which shares its name to a referenced identifier in default parameter expression, the function body should be wrapped into iife, otherwise the binding in default parameter scope will be shadowed by function body.
    JLHwung committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    a7c0534 View commit details
    Browse the repository at this point in the history