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&);
};