Last active
February 14, 2019 06:00
-
-
Save BolajiAyodeji/dec85f8287295630f90c78f208905691 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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