deepl-object-translation
Version:
use the deepL tech to translate objects
19 lines (14 loc) • 364 B
JavaScript
var Calculator = function () { };
Calculator.prototype.add = function (a, b) {
return a + b;
}
Calculator.prototype.subtract = function (a, b) {
return a - b;
}
Calculator.prototype.multiply = function (a, b) {
return a * b;
}
Calculator.prototype.divide = function (a, b) {
return a / b;
}
module.exports = new Calculator();