diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-04 22:44:48 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-04 22:44:48 +0200 |
commit | d4dfe7e5253229ccbdfb3a4fcc7911bbde49342f (patch) | |
tree | a388536fbf7c261f69165a354709e5d9ab51b5a4 /Libraries/LibJS/Runtime/MathObject.h | |
parent | d155491122ba8c4b9e7e6a52ff075811b1897abb (diff) | |
download | serenity-d4dfe7e5253229ccbdfb3a4fcc7911bbde49342f.zip |
LibJS: Add Math.sqrt()
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 1953eeb3a2..21f6130e75 100644 --- a/Libraries/LibJS/Runtime/MathObject.h +++ b/Libraries/LibJS/Runtime/MathObject.h @@ -40,6 +40,7 @@ private: static Value abs(Interpreter&); static Value random(Interpreter&); + static Value sqrt(Interpreter&); }; } |