Skip to content

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

Merged
DanielRosenwasser merged 4 commits into
masterfrom
allowArrowArgumentsES6
Apr 16, 2015
Merged

Only error in ES3 and ES5 when using 'arguments' in an arrow function#2802
DanielRosenwasser merged 4 commits into
masterfrom
allowArrowArgumentsES6

Conversation

@DanielRosenwasser
Copy link
Copy Markdown
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
Copy Markdown
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