Skip to content

Instantly share code, notes, and snippets.

@BolajiAyodeji
Last active February 14, 2019 06:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BolajiAyodeji/dec85f8287295630f90c78f208905691 to your computer and use it in GitHub Desktop.
Save BolajiAyodeji/dec85f8287295630f90c78f208905691 to your computer and use it in GitHub Desktop.
"use strict";
var math = _interopRequireWildcard(require("./math.js"));
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
console.log(math.sumAll(50, 10));
console.log(math.subtractAll(50, 10));
console.log(math.multiplyAll(50, 10));
console.log(math.divideAll(50, 10));
console.log(math.findModulus(50, 15));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment