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

Node 6 support destructuring and function name #4

Open
Pana opened this issue Apr 28, 2016 · 7 comments
Open

Node 6 support destructuring and function name #4

Pana opened this issue Apr 28, 2016 · 7 comments

Comments

@Pana
Copy link

Pana commented Apr 28, 2016

FYI

@jhen0409
Copy link
Owner

jhen0409 commented Apr 28, 2016

Thanks!

The destructuring is related to #2, I believe it will be removed in the near future.

Currently the function-name has many of the features we need to enable --harmony-function-name in v8 5.0, so I still keep it.

@olalonde
Copy link

I'm not sure I understand why function-name is included. It seems to be supported natively in Node v6.

@jhen0409
Copy link
Owner

@olalonde you can see function "name" property in ES6 compatibility table, currently babel has two features we need enable --harmony-function-name on node 6:

  • variables (function)
  • object methods (function)

@olalonde
Copy link

Ah ok, thanks.

@christophehurpeau
Copy link

christophehurpeau commented Sep 15, 2016

Yes, but as you can see in node.green the function name features are supported in node 6.5 because v8 was updated to 5.1

@christophehurpeau
Copy link

Maybe we could use the preset es2015-node6/node6.5 ?

@jhen0409
Copy link
Owner

jhen0409 commented Nov 2, 2016

@christophehurpeau, sorry for delay..

I think with the latest version will be better, so may I'll provide like less-than-6.5 preset.

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

4 participants