From 039b6d5f0286ac6d1ca760494ed0ea8fff12b272 Mon Sep 17 00:00:00 2001
From: Hydreye <arondel.alexandre@gmail.com>
Date: Mon, 18 Nov 2019 14:10:17 +0100
Subject: [PATCH] Fix error in addition implementation

---
 compute.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compute.js b/compute.js
index 23d222c..587f28d 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
-- 
GitLab