From 9cc120fabb45e168d2906145534f29b0ff2e1082 Mon Sep 17 00:00:00 2001 From: vitorsoaresdev Date: Fri, 28 Oct 2022 11:42:49 -0300 Subject: [PATCH] feat: finalizado triangleArea --- 02-triangleArea/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/02-triangleArea/index.js b/02-triangleArea/index.js index 7628fcd..bc6458b 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