summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/MathObject.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-04 22:44:48 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-04 22:44:48 +0200
commitd4dfe7e5253229ccbdfb3a4fcc7911bbde49342f (patch)
treea388536fbf7c261f69165a354709e5d9ab51b5a4 /Libraries/LibJS/Runtime/MathObject.h
parentd155491122ba8c4b9e7e6a52ff075811b1897abb (diff)
downloadserenity-d4dfe7e5253229ccbdfb3a4fcc7911bbde49342f.zip
LibJS: Add Math.sqrt()
Diffstat (limited to 'Libraries/LibJS/Runtime/MathObject.h')
-rw-r--r--Libraries/LibJS/Runtime/MathObject.h1
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&);
};
}