UNPKG

my_calculator-with_date_time_logging-jalaali

Version:

a simple calculator capable of doing the 4 primary arithmatic operations and also emporing and modulus. it also logs the currrent Date/TimeStamp in Jalaali form on the console by default, which can be disabled or left enabled.

7 lines (5 loc) 214 B
const operationHandler = require('../controller/handler/operation_handler'); function power(base, exponent) { return operationHandler.performOperation(base, exponent, 'power'); } module.exports = power;