From 5cf92a84c15933d2f0004d1105660070773acc5a Mon Sep 17 00:00:00 2001 From: danielmoliaribarbosa Date: Fri, 28 Oct 2022 14:47:18 -0300 Subject: [PATCH] =?UTF-8?q?feat(triangleArea):=20Implementa=20fun=C3=A7?= =?UTF-8?q?=C3=A3o=20triangleArea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 02-triangleArea/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/02-triangleArea/index.js b/02-triangleArea/index.js index 7628fcd..c09415e 100644 --- a/02-triangleArea/index.js +++ b/02-triangleArea/index.js @@ -1,3 +1,4 @@ export function triangleArea(base, height) { // your code here + return base * height/2; } \ No newline at end of file -- 2.34.1