Browse Source

Fixed hypot length bug (#1288)

pull/1293/head
Moad Mohammed Elhebri 3 years ago committed by GitHub
parent
commit
e577f2a4c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      boa/src/builtins/math/mod.rs

2
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)

Loading…
Cancel
Save