In this repository I am studying the different forms of javascript code so I can start messing with Node.js =)
This is a follow-up to a course I am talking about ES5/ES6. I am using Visual Studio Code 2017 as my IDE.
https://www.udemy.com/the-complete-javascript-course/
To convert ES6 code or higher to a compatible version of JavaScript like ES5, I am using a code transpiler called Babel
Installation:
0- Download Node.Js at www.nodejs.org
1- Install node.js
2- Run inside the folder you'd like to be local installation of node_modules 'npm install --save-dev babel-cli babel-preset-env'
3- Run from node_modules/.bin 'babel --presets env ../script.js --out-file ../script_transpiled.js
4- Check the file generated