diff --git a/boa/src/builtins/math/mod.rs b/boa/src/builtins/math/mod.rs index 284319e2a0a..50edd43abe3 100644 --- a/boa/src/builtins/math/mod.rs +++ b/boa/src/builtins/math/mod.rs @@ -63,7 +63,7 @@ impl BuiltIn for Math { .function(Self::expm1, "expm1", 1) .function(Self::floor, "floor", 1) .function(Self::fround, "fround", 1) - .function(Self::hypot, "hypot", 1) + .function(Self::hypot, "hypot", 2) .function(Self::imul, "imul", 1) .function(Self::log, "log", 1) .function(Self::log1p, "log1p", 1)