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:
parent
2285f84596
commit
2d3634d5f5
4 changed files with 46 additions and 1 deletions
|
@ -38,6 +38,7 @@ public:
|
|||
private:
|
||||
virtual const char* class_name() const override { return "MathObject"; }
|
||||
|
||||
static Value abs(Interpreter&);
|
||||
static Value random(Interpreter&);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue