[JS] Is this a triangle?
2020. 11. 7.
[ 문제 ] Implement a method that accepts 3 integer values a, b, c. The method should return true if a triangle can be built with the sides of given length and false in any other case. (In this case, all triangles must have surface greater than 0 to be accepted). [ 내 풀이 ] 2020.10.30 (10m) function isTriangle(a, b, c) { const sortArr = [a, b, c].sort() if (sortArr[2] < sortArr[0] + sortArr[1]) retur..