From 875ec1b8d76ae7fbb2b289ae9cedb8feb8c50055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cain=C3=A3=20Milech?= Date: Fri, 28 Oct 2022 17:27:08 -0300 Subject: [PATCH] feat(triangleArea): implementa function --- 02-triangleArea/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02-triangleArea/index.js b/02-triangleArea/index.js index 7628fcd..eafab7e 100644 --- a/02-triangleArea/index.js +++ b/02-triangleArea/index.js @@ -1,3 +1,3 @@ export function triangleArea(base, height) { - // your code here + return base * height /2; } \ No newline at end of file