Update calculator/calculator.js

accepted

Co-authored-by: Michael Frank <mfra109@gmail.com>
This commit is contained in:
Trevon Kitchen 2022-01-26 16:04:46 -05:00 committed by GitHub
parent db4255dc92
commit d091aef25d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ const power = function(a, b) {
return Math.pow(a, b);
};
//alternate solution using Exponentiation opertator
//alternate solution using the Exponentiation operator
const altPower = function(a, b) {
return a ** b;
};