JavaScript: Variables (ES6)

Setup Project mkdir /Fundamentals cd Fundamentals npm init defaults npm install --save-dev babel-cli npm install --save-dev babel-preset-es2015 babel-preset-stage-2 touch variables.js atom . package.json { "name": "Fundamentals", "version": "1.0.0", "description": "", "main": "variables.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "nodemon variables.js --exec babel-node --presets es2015,stage-2" }, "author": "", "license": "ISC", … Continue reading JavaScript: Variables (ES6)

Advertisements