Compute Hypotenuse
Examples in
JavaScript
console.log(Math.hypot(3, 4));
// expected output: 5
console.log(Math.hypot(5, 12));
// expected output: 13