Write a function that takes the base and height of a triangle and return its area.
- The area of a triangle is: (base * height) / 2
Examples
``` triArea(3, 2) ➞ 3
triArea(7, 4) ➞ 14
triArea(10, 10) ➞ 50
### Javascript
function convert(a,b){ return a*b/2; } let base = 3,height=2; console.log(convert(base,height)); ```