added initial answers
This commit is contained in:
parent
7576ad0709
commit
f6d3775bf0
|
@ -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
|
// Do not edit below this line
|
||||||
|
|
Loading…
Reference in New Issue