Math.hypot
hypot — Returns the square root of the sum of the squares of the arguments.
Description
Math.hypot(number value, [number values, …])
Parameters
Name | Description | Type | Default | Optional |
---|---|---|---|---|
value | number | No | ||
values, … | number | Yes |
Examples
Example #1 – hypot example