From 88b03080f994ee0580bcdfba97f06018fd24b739 Mon Sep 17 00:00:00 2001 From: Sergio Ruiz Date: Sat, 25 Jul 2020 23:42:40 -0500 Subject: [PATCH] Edit the function: Area of a triangle --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 858a8e8..f8a25a6 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,5 @@ const triangleArea = (base, height) => { - + return ( base * height) / 2; }; module.exports = triangleArea; \ No newline at end of file