From 27f1a81229a48e708bb76c88398587d2c4da9fe6 Mon Sep 17 00:00:00 2001 From: Ricardo Tornero Date: Sun, 19 Jul 2020 21:39:26 -0500 Subject: [PATCH] =?UTF-8?q?Agregado=20c=C3=A1lculo=20del=20=C3=A1rea=20del?= =?UTF-8?q?=20tri=C3=A1ngulo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 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..52b6da6 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 +module.exports = triangleArea;