File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 6565 # disabled with --without-intl build flag.
6666 - name : Intl
6767 message : Use `const { Intl } = globalThis;` instead of the global.
68+ - name : Iterator
69+ message : Use `const { Iterator } = globalThis;` instead of the global.
6870 - name : MessageChannel
6971 message : Use `const { MessageChannel } = require('internal/worker/io');` instead of the global.
7072 - name : MessageEvent
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ const intrinsics = new Set([
6363 'SharedArrayBuffer' ,
6464 'Atomics' ,
6565 'WebAssembly' ,
66+ 'Iterator' ,
6667] ) ;
6768
6869if ( global . gc ) {
Original file line number Diff line number Diff line change @@ -632,6 +632,7 @@ const builtins = [
632632 'Int32Array' ,
633633 'Int8Array' ,
634634 ...( common . hasIntl ? [ 'Intl' ] : [ ] ) ,
635+ 'Iterator' ,
635636 'inspector' ,
636637 'isFinite' ,
637638 'isNaN' ,
You can’t perform that action at this time.
0 commit comments