forked from M3-Academy/challenge-algorithms-v2.0
feat(triangleArea): Retono da função, funcional em todos os testes.
This commit is contained in:
parent
3788117b51
commit
c7ec50ec8b
@ -1,3 +1,4 @@
|
|||||||
export function triangleArea(base, height) {
|
export function triangleArea(base, height) {
|
||||||
// your code here
|
// your code here
|
||||||
|
return base * height /2 ;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user