diff options
author | Linus Groh <mail@linusgroh.de> | 2020-04-15 11:14:35 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-15 12:20:08 +0200 |
commit | a8406aa117839357277d11966359613bc0a2828f (patch) | |
tree | 1d15e195194791e74d501424bf737b59d76aa41d /Libraries/LibJS | |
parent | 64f5185bae2849b66802b946ac44e55ec4428214 (diff) | |
download | serenity-a8406aa117839357277d11966359613bc0a2828f.zip |
LibJS: Check length property of Array.prototype.join in its test
I assume this was copied from the Array.prototype.push() test :^)
Diffstat (limited to 'Libraries/LibJS')
-rw-r--r-- | Libraries/LibJS/Tests/Array.prototype.join.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Tests/Array.prototype.join.js b/Libraries/LibJS/Tests/Array.prototype.join.js index ef214d308e..24b7168550 100644 --- a/Libraries/LibJS/Tests/Array.prototype.join.js +++ b/Libraries/LibJS/Tests/Array.prototype.join.js @@ -1,7 +1,7 @@ load("test-common.js"); try { - assert(Array.prototype.push.length === 1); + assert(Array.prototype.join.length === 1); assert(["hello", "friends"].join() === "hello,friends"); assert(["hello", "friends"].join(" ") === "hello friends"); |