summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/MathObject.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-05 00:29:01 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-05 00:29:01 +0200
commit16bd99aa527ff13dd92cf52c51c0d9fca9054f6c (patch)
tree965926cf15c2f2189080266a111d799184f464f1 /Libraries/LibJS/Runtime/MathObject.h
parentafff22830862d8812880ec92d37031a56ef799d8 (diff)
downloadserenity-16bd99aa527ff13dd92cf52c51c0d9fca9054f6c.zip
LibJS: Add Math.round()
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 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&);
};
}