LibJS: Fix variable scoping issues in two tests

This commit is contained in:
Hendi 2021-07-04 03:20:57 +02:00 committed by Linus Groh
commit 793e1bf28a
Notes: sideshowbarker 2024-07-18 10:20:10 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ describe("normal behavior", () => {
var array = [1, 2, 3, 4, 5];
expect(
arrayTwo.every((value, index, arr) => {
array.every((value, index, arr) => {
arr.push(6);
return value <= 5;
})