Last active
October 10, 2015 05:53
-
-
Save makenowjust/eb99b6b8826812a1b1ca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // this example dosen't work. | |
| {foo, bar} = {foo: 1, bar: 2} | |
| // $ babel-node object-destructuring-starts-a-line.js | |
| // SyntaxError: object-destructuring-starts-a-line.js: Unexpected token (1:11) | |
| // > 1 | {foo, bar} = {foo: 1, bar: 2} | |
| // | ^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment