hypot
hypot(a, b, c, ...)
hypot([a, b, c, ...])
Try it yourself:
$1 |
hypot(3, 4)
|
|
$2 |
sqrt(3^2 + 4^2)
|
|
$3 |
hypot(-2)
|
|
$4 |
hypot([3, 4, 5])
|