Created
June 22, 2017 06:04
-
-
Save wdiasvargas/49ccae299d69b4265320104380944fee to your computer and use it in GitHub Desktop.
This file contains 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
npm install --save-dev babel-cli babel-preset-es2017 && echo '{ "presets": ["es2017"] }' > .babelrc && echo 'function a(b,) { console.log("hi"); }; a()' > index.js | |
//run ./node_modules/.bin/babel-node index.js | |
//params $babel$ $script.js$ --presets es2017 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment