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

Only error in ES3 and ES5 when using 'arguments' in an arrow function #2802

Merged
merged 4 commits into from Apr 16, 2015

Conversation

DanielRosenwasser
Copy link
Member

Because of the subtle nuances of capturing/renaming arguments, we're not sure if we want to continue on #2764.

Instead, we will just error in ES3 and ES5 modes.

Resolves #2430.

@CyrusNajmabadi
Copy link
Contributor

👍

DanielRosenwasser added a commit that referenced this pull request Apr 16, 2015
Only error in ES3 and ES5 when using 'arguments' in an arrow function
@DanielRosenwasser DanielRosenwasser merged commit 8d4d7df into master Apr 16, 2015
@DanielRosenwasser DanielRosenwasser deleted the allowArrowArgumentsES6 branch April 16, 2015 20:54
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

arguments reference in an arrow function in ES5/ES6
3 participants