changed right name this time

This commit is contained in:
trekitch 2022-01-26 15:04:37 -05:00
parent 10199f35a9
commit db4255dc92
1 changed files with 2 additions and 2 deletions

View File

@ -16,12 +16,12 @@ const multiply = function(array) {
: 0;
};
const altPower = function(a, b) {
const power = function(a, b) {
return Math.pow(a, b);
};
//alternate solution using Exponentiation opertator
const power = function(a, b) {
const altPower = function(a, b) {
return a ** b;
};