Compile code using babel
- clone the repo
- install dependencies by running
npm install
- add the code you need to convert into
src/indes.js
- run
npm start
on the console - the output should be stored into
dist/indes.js
const testFunction = (arg)=> arg
console.log(testFunction)
"use strict";
var testFunction = function testFunction(arg) {
return arg;
};
console.log(testFunction);