mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibJS: Set length property in Object::put_native_function()
This commit is contained in:
committed by
Andreas Kling
parent
b3c4514902
commit
cd3e2690eb
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user