Skip to content

Commit

Permalink
Merge pull request #64 from Wilcolab/copilot/connect
Browse files Browse the repository at this point in the history
chore: Add power function to calculator
  • Loading branch information
shem8 authored Jun 24, 2024
2 parents f7acf25 + 910639b commit 62dfcf9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ function calculate(operand1, operand2, operation) {
case '/':
uri += "?operation=divide";
break;
case '^':
uri += "?operation=power";
break;
default:
setError();
return;
Expand Down

0 comments on commit 62dfcf9

Please sign in to comment.