function calcHypotenuse(a, b) { return Math.sqrt(a * a + b * b); } console.log(calcHypotenuse(3, 4)); // Expected output: 5 console.log(calcHypotenuse(5, 12)); // Expected output: 13 console.log(calcHypotenuse(0, 0)); // Expected output: 0