1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:18:13 +00:00

LibJS: Math.sqrt.length should be 1

This commit is contained in:
Andreas Kling 2020-04-04 23:28:38 +02:00
parent a860a3f793
commit 9e05672f87

View file

@ -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));