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

Make x := -> a universal way to create named thin arrow functions in expression positions #653

Closed
STRd6 opened this issue Aug 26, 2023 · 1 comment

Comments

@STRd6
Copy link
Contributor

STRd6 commented Aug 26, 2023

Have x := (a, b) -> create FunctionExpressions directly so that it can be used in expression positions more easily rather than relying on extra processing of LexicalDeclaration

@STRd6
Copy link
Contributor Author

STRd6 commented Aug 30, 2023

Something to note is that named function expressions are not hoisted or available elsewhere in the block.

@STRd6 STRd6 closed this as completed in 9fc8a88 Sep 2, 2023
STRd6 added a commit that referenced this issue Sep 2, 2023
Fixes #682; Fixes #653; Improved arrow function const assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant