Skip to content

Commit

Permalink
task solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacper7001 committed Mar 11, 2024
1 parent 59efc7a commit e810907
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/makeRobotAccountant.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ function makeRobotAccountant() {

if (calls <= 3 || calls % 2 !== 0) {
return x + y;
} else {
return 'Bzzz... Error!';
}

return 'Bzzz... Error!';
};
};

Expand Down

0 comments on commit e810907

Please sign in to comment.