From be5b3a5a1754eade88177e885d9de1a6263b3e1c Mon Sep 17 00:00:00 2001 From: Jobana Garavito Q Date: Fri, 24 Jul 2020 21:22:28 -0500 Subject: [PATCH] Triangle area function solved, by Jobana Garavito --- package.json | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7b82143..2683cd9 100644 --- a/package.json +++ b/package.json @@ -29,4 +29,4 @@ "/(node_modules)/" ] } -} \ No newline at end of file +} diff --git a/src/index.js b/src/index.js index 858a8e8..fe12d42 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