diff --git a/08_calculator/calculator.js b/08_calculator/calculator.js index c22e8d2..a6c5478 100644 --- a/08_calculator/calculator.js +++ b/08_calculator/calculator.js @@ -1,8 +1,14 @@ -const add = function() { +const add = function(firstValue, secondValue) { + firstValue = 8 + secondValue = 10 + result = firstValue + secondValue + return result + }; const subtract = function() { + };