summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);