- Install nodejs & npm: https://nodejs.org/download/
- Clone this repository or download it.
- In a terminal, goto the directory with this README
- Run npm install
- Run node src/demo.js
- Try each line below
new Cat().speak(); new Dog().speak(); hello("George Washington"); roleCall("John Adams", "Thomas Jefferson");
View the code in src
To learn about ES6 features and syntax visit: https://babeljs.io/docs/learn-es6/
- Install gulp npm install -g gulp
- Run gulp build
- View es5 code in the dist folder
To learn about gulp visit: http://gulpjs.com/