Skip to content

Commit b760101

Browse files
fix counter
1 parent d2cba4a commit b760101

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

test/built-ins/Iterator/prototype/includes/get-return-method-throws.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ let iterator = {
2424
};
2525

2626
assert.sameValue(iterator.includes(1), false);
27+
counter = 0;
2728

2829
assert.throws(Test262Error, function() {
2930
iterator.includes(0);

test/built-ins/Iterator/prototype/includes/iterator-return-method-throws.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ let iterator = {
2424
};
2525

2626
assert.sameValue(iterator.includes(1), false);
27+
counter = 0;
2728

2829
assert.throws(Test262Error, function() {
2930
iterator.includes(0);

0 commit comments

Comments
 (0)