export function triangleArea(base, height) { let result; result = (base * height) / 2; return result }