DEV Community

Discussion on: Daily Challenge #84 - Third Angle of a Triangle

Collapse
 
willsmart profile image
willsmart

BTW the challenge on Kata only tests for valid triangles,

function otherAngle(a, b) {
  return 180-(a+b);
}

was sufficient in JS