added initial answers

This commit is contained in:
Jared Ramon Elizan 2022-08-13 12:59:25 +08:00
parent 7576ad0709
commit f6d3775bf0
1 changed files with 12 additions and 12 deletions

View File

@ -1,25 +1,25 @@
const add = function() {
const add = function(a, b) {
return a + b;
};
const subtract = function() {
const subtract = function(a, b) {
return a - b;
};
const sum = function() {
const sum = function(a, b) {
return a + b
};
const multiply = function() {
const multiply = function(a, b) {
return a * b;
};
const power = function() {
const power = function(a, b) {
return Math.pow(a, b);
};
const factorial = function() {
const factorial = function(a, b) {
return a / b;
};
// Do not edit below this line