diff --git a/compute.js b/compute.js index 23d222c5a04c92bd26c9f1a7b441223bee59abdc..587f28ded8ceb23c98a59ed4b5b2f70637de8c93 100644 --- a/compute.js +++ b/compute.js @@ -11,7 +11,7 @@ function Compute() { */ // TODO: modify with the correct operator // We intentionally kept this mistake: * operator instead of + operator - this.add = (a, b) => Number(a) * Number(b); + this.add = (a, b) => Number(a) + Number(b); /** * @method sub * @desc Calculate the difference between two numbers