summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/Value.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-04-05 13:40:00 +0100
committerAndreas Kling <kling@serenityos.org>2020-04-05 15:32:06 +0200
commit0403845d3edce9caf6823e0579074f57e9a4b9b9 (patch)
treef545e5cc2f4be20bd90d696174090e333077512c /Libraries/LibJS/Runtime/Value.h
parenteafd3dbaf88461ba7fb99ce8c5c6e7a295bed9b4 (diff)
downloadserenity-0403845d3edce9caf6823e0579074f57e9a4b9b9.zip
LibJS: Implement exponentiation (** operator)
Diffstat (limited to 'Libraries/LibJS/Runtime/Value.h')
-rw-r--r--Libraries/LibJS/Runtime/Value.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibJS/Runtime/Value.h b/Libraries/LibJS/Runtime/Value.h
index df0e742ab9..b6d30c80f1 100644
--- a/Libraries/LibJS/Runtime/Value.h
+++ b/Libraries/LibJS/Runtime/Value.h
@@ -196,6 +196,7 @@ Value sub(Value lhs, Value rhs);
Value mul(Value lhs, Value rhs);
Value div(Value lhs, Value rhs);
Value mod(Value lhs, Value rhs);
+Value exp(Value lhs, Value rhs);
Value eq(Value lhs, Value rhs);
Value typed_eq(Value lhs, Value rhs);
Value instance_of(Value lhs, Value rhs);