Skip to content

Commit 57c7e61

Browse files
committed
fix typo
1 parent 342993f commit 57c7e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/prototype-pollution.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test('array values (regression test)', t => {
2020
const array1 = [];
2121
const array2 = [];
2222
const pristine = [];
23-
defineProtoProperty(array1, {oops: 'It works !'});
23+
defineProtoProperty(array2, {oops: 'It works !'});
2424
t.is(undefined, pristine.oops);
2525
mergeOptions({array: array1}, {array: array2});
2626
t.is(undefined, pristine.oops);

0 commit comments

Comments
 (0)