summaryrefslogtreecommitdiff
path: root/Libraries/LibJS
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-04-05 14:47:52 +0100
committerAndreas Kling <kling@serenityos.org>2020-04-05 16:01:46 +0200
commit45093503916f2f17929ff34db07779b9c7345b0c (patch)
treed35e31723ab4d5dbd4c702378f53a196598bb2a4 /Libraries/LibJS
parent30ba2c7ceceb7c5dd3735a4e70b57e5200d46c99 (diff)
downloadserenity-45093503916f2f17929ff34db07779b9c7345b0c.zip
LibJS: Remove assert function from exponentiation-basic.js
Diffstat (limited to 'Libraries/LibJS')
-rw-r--r--Libraries/LibJS/Tests/exponentiation-basic.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/Libraries/LibJS/Tests/exponentiation-basic.js b/Libraries/LibJS/Tests/exponentiation-basic.js
index 995fd08117..8e7c7c74f2 100644
--- a/Libraries/LibJS/Tests/exponentiation-basic.js
+++ b/Libraries/LibJS/Tests/exponentiation-basic.js
@@ -1,5 +1,3 @@
-function assert(x) { if (!x) throw 1; }
-
try {
assert(2 ** 0 === 1);
assert(2 ** 1 === 2);