summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Tests/function-length.js
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/Tests/function-length.js')
-rw-r--r--Libraries/LibJS/Tests/function-length.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/Libraries/LibJS/Tests/function-length.js b/Libraries/LibJS/Tests/function-length.js
index e24f08e490..7a3e69cc32 100644
--- a/Libraries/LibJS/Tests/function-length.js
+++ b/Libraries/LibJS/Tests/function-length.js
@@ -1,5 +1,3 @@
-function assert(x) { if (!x) throw 1; }
-
try {
function foo() { }
assert(foo.length === 0);