mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 07:04:59 +00:00
LibJS: Set length property in Object::put_native_function()
This commit is contained in:
parent
b3c4514902
commit
cd3e2690eb
14 changed files with 25 additions and 23 deletions
|
@ -34,7 +34,7 @@ namespace JS {
|
|||
|
||||
MathObject::MathObject()
|
||||
{
|
||||
put_native_function("abs", abs);
|
||||
put_native_function("abs", abs, 1);
|
||||
put_native_function("random", random);
|
||||
|
||||
put("E", Value(M_E));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue