LibJS: Math.sqrt.length should be 1
This commit is contained in:
parent
a860a3f793
commit
9e05672f87
Notes:
sideshowbarker
2024-07-19 07:55:34 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/9e05672f876
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ MathObject::MathObject()
|
|||
{
|
||||
put_native_function("abs", abs, 1);
|
||||
put_native_function("random", random);
|
||||
put_native_function("sqrt", sqrt);
|
||||
put_native_function("sqrt", sqrt, 1);
|
||||
|
||||
put("E", Value(M_E));
|
||||
put("LN2", Value(M_LN2));
|
||||
|
|
Loading…
Add table
Reference in a new issue