loading
main.js
1
2
3
4
5
6
7
8
9
10
11
var multiply = (function () {
  return function(a, b){
    return a * b;
  }
})();

console.log(typeof multiply);

var result = multiply(4, 3);

console.log("result is " + result);
Babel Compiler v6.4.4 Copyright (c) 2014-2015 Sebastian McKenzie