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

Update advanced_examples.md #230

Merged
merged 1 commit into from
Sep 12, 2016
Merged

Update advanced_examples.md #230

merged 1 commit into from
Sep 12, 2016

Conversation

eladchen
Copy link
Contributor

The docs can be misleading for people who use this example.

Arrow functions do not expose an 'arguments' object, the only reason the example works is due to babel.

A better example is to use the correct es6 syntax, by using rest parameters.

The docs can be misleading for people who use this example. 

Arrow functions do not expose an 'arguments' object, the only reason the example works is due to babel.

A better example is to use the correct es6 syntax, by using rest parameters.
@danielkcz
Copy link
Contributor

Good catch, thanks!

@danielkcz danielkcz merged commit 4e2f6b5 into stampit-org:master Sep 12, 2016
@koresar
Copy link
Member

koresar commented Sep 13, 2016

@eladchen great and sneaky one. Thanks mate

@eladchen
Copy link
Contributor Author

@FredyC @koresar My pleasure.

@eladchen eladchen deleted the patch-1 branch September 13, 2016 07:17
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

Successfully merging this pull request may close these issues.

None yet

3 participants