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

refactor(transformer): arrow functions transform do not wrap function expressions in parentheses #5824

Commits on Sep 17, 2024

  1. refactor(transformer): arrow functions transform do not wrap function…

    … expressions in parentheses (#5824)
    
    Wrapping a function expression in parentheses is unnecessary. Codegen already adds parentheses when printing a function expression as a statement expression. i.e. `(function() {});`.
    overlookmotel committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    85ac3f7 View commit details
    Browse the repository at this point in the history