diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-05 00:29:01 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-05 00:29:01 +0200 |
commit | 16bd99aa527ff13dd92cf52c51c0d9fca9054f6c (patch) | |
tree | 965926cf15c2f2189080266a111d799184f464f1 /Libraries/LibJS/Runtime/MathObject.h | |
parent | afff22830862d8812880ec92d37031a56ef799d8 (diff) | |
download | serenity-16bd99aa527ff13dd92cf52c51c0d9fca9054f6c.zip |
LibJS: Add Math.round()
Diffstat (limited to 'Libraries/LibJS/Runtime/MathObject.h')
-rw-r--r-- | Libraries/LibJS/Runtime/MathObject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibJS/Runtime/MathObject.h b/Libraries/LibJS/Runtime/MathObject.h index 6e11daf627..f72637ab2a 100644 --- a/Libraries/LibJS/Runtime/MathObject.h +++ b/Libraries/LibJS/Runtime/MathObject.h @@ -42,6 +42,7 @@ private: static Value random(Interpreter&); static Value sqrt(Interpreter&); static Value floor(Interpreter&); + static Value round(Interpreter&); }; } |