diff --git a/test/common/globals.js b/test/common/globals.js index 8b9b6b34f6a..7b5643a926d 100644 --- a/test/common/globals.js +++ b/test/common/globals.js @@ -63,6 +63,7 @@ const intrinsics = new Set([ 'SharedArrayBuffer', 'Atomics', 'WebAssembly', + 'Iterator', ]); if (global.gc) { diff --git a/test/parallel/test-repl-tab-complete.js b/test/parallel/test-repl-tab-complete.js index 06a55414d5b..6784b28032c 100644 --- a/test/parallel/test-repl-tab-complete.js +++ b/test/parallel/test-repl-tab-complete.js @@ -632,6 +632,7 @@ const builtins = [ 'Int32Array', 'Int8Array', ...(common.hasIntl ? ['Intl'] : []), + 'Iterator', 'inspector', 'isFinite', 'isNaN',