40 lines
432 B
JavaScript
40 lines
432 B
JavaScript
const add = function(firstValue, secondValue) {
|
|
firstValue = 8
|
|
secondValue = 10
|
|
result = firstValue + secondValue
|
|
return result
|
|
|
|
|
|
};
|
|
|
|
const subtract = function() {
|
|
|
|
|
|
};
|
|
|
|
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
|
|
};
|