odin-js-fundamentals-part-5/08_calculator/calculator.js

34 lines
349 B
JavaScript
Raw Normal View History

2024-01-11 08:56:09 +00:00
const add = function(a, b) {
return a + b;
2024-01-11 08:52:05 +00:00
};
const subtract = function(a, b) {
return a - b;
2024-01-11 08:52:05 +00:00
};
const sum = function() {
};
const multiply = function() {
};
const power = function() {
};
const factorial = function() {
};
// Do not edit below this line
module.exports = {
add,
subtract,
sum,
multiply,
power,
factorial
};