1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:48:11 +00:00

LibJS: Implement Math.abs()

This commit is contained in:
Andreas Kling 2020-03-29 14:56:28 +02:00
parent 2285f84596
commit 2d3634d5f5
4 changed files with 46 additions and 1 deletions

View file

@ -38,6 +38,7 @@ public:
private:
virtual const char* class_name() const override { return "MathObject"; }
static Value abs(Interpreter&);
static Value random(Interpreter&);
};