From 01a13de8adfe9f6a976ffd17248e015afd197a13 Mon Sep 17 00:00:00 2001 From: orlandCasta Date: Wed, 22 Jul 2020 02:40:43 -0500 Subject: [PATCH] challenge completed, week 1 --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 858a8e8..2793d28 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,6 @@ const triangleArea = (base, height) => { - + let area = (base * height) /2; + return area }; module.exports = triangleArea; \ No newline at end of file