Skip to content

Commit

Permalink
test: handle new Iterator global
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Jan 31, 2024
1 parent b8f8a62 commit 9f08309
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/common/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const intrinsics = new Set([
'SharedArrayBuffer',
'Atomics',
'WebAssembly',
'Iterator',
]);

if (global.gc) {
Expand Down
1 change: 1 addition & 0 deletions test/parallel/test-repl-tab-complete.js
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,7 @@ const builtins = [
'Int32Array',
'Int8Array',
...(common.hasIntl ? ['Intl'] : []),
'Iterator',
'inspector',
'isFinite',
'isNaN',
Expand Down

0 comments on commit 9f08309

Please sign in to comment.