feat(02-trianglearea):completead second challenge

This commit is contained in:
Marcello Rodrigues Martins 2022-10-29 16:20:16 -03:00
parent c6f6df9c59
commit 6b149f7d16

View File

@ -1,3 +1,5 @@
export function triangleArea(base, height) {
// your code here
let result = base * height / 2;
return result;
}