UNPKG

@harum/simple-calculator

Version:
26 lines (18 loc) 363 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var version = "1.0.0"; function add(a, b) { return a + b; } function subtract(a, b) { return a - b; } const myCalculator = { add, subtract, }; function getVersion() { console.log('version ' + version); } exports.default = myCalculator; exports.getVersion = getVersion;