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

multi line for babel ? #46

Open
c0b opened this issue Apr 27, 2016 · 0 comments
Open

multi line for babel ? #46

c0b opened this issue Apr 27, 2016 · 0 comments

Comments

@c0b
Copy link

c0b commented Apr 27, 2016

 nesh -b
Babel 5.8.38 on Node v6.0.0
Type .help for more information
babel> var a = [
SyntaxError: unknown: Unexpected token (2:0)
var a = [

without babel it's ok to write multi lines

nesh> var a = [
...   {a: 'a', b: 4},
...   {a: 'c', b: 5}, ]
undefined
nesh> a
[ { a: 'a', b: 4 }, { a: 'c', b: 5 } ]
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

1 participant