From e1763bf1e3e10f5d0bbc7abfdaeeb5e413a3914e Mon Sep 17 00:00:00 2001 From: Clement Denis Date: Thu, 23 Jul 2020 18:22:51 +0200 Subject: [PATCH] js/test: typo --- js/tests/test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tests/test.mjs b/js/tests/test.mjs index c6b3ac46..99791770 100644 --- a/js/tests/test.mjs +++ b/js/tests/test.mjs @@ -27,7 +27,7 @@ const eq = (a, b) => { const noSplit = !''.split const noJoin = ![].join String.prototype.split = split - String.prototype.split = join + Array.prototype.join = join deepStrictEqual(a, b) noSplit && (String.prototype.split = undefined) noJoin && (Array.prototype.join = undefined)