The hypot() function returns the length of the hypotenuse of a right-angle triangle.
|x||Required. Length of side x|
|y||Required. Length of side y|
Tip: The hypotenuse of a right-angle triangle with sides of length x and y is equivalent to sqrt(x*x + y*y).
The output of the code above will be:
Your message has been sent to W3Schools.