結果 : write a code in javascript to calculate the area of a triangle