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

Add option to functional-parameters to allow IIFEs. #37

Closed
RebeccaStevens opened this issue Jul 21, 2019 · 0 comments · Fixed by #39
Closed

Add option to functional-parameters to allow IIFEs. #37

RebeccaStevens opened this issue Jul 21, 2019 · 0 comments · Fixed by #39
Assignees
Labels
Type: Enhancement Enhancement of the code, not introducing new features.

Comments

@RebeccaStevens
Copy link
Collaborator

RebeccaStevens commented Jul 21, 2019

Option to allow this:

function foo(y) {
  const x = (() => y * 2)();
  return x;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Enhancement of the code, not introducing new features.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant