We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 386776d commit 88d474fCopy full SHA for 88d474f
lib/internal/freeze_intrinsics.js
@@ -132,10 +132,8 @@ module.exports = function() {
132
133
const intrinsicPrototypes = [
134
// Anonymous Intrinsics
135
- // 23.1.5 ArrayIteratorPrototype
136
- ObjectGetPrototypeOf(new Array()[SymbolIterator]()),
137
- // 22.1.5 StringIteratorPrototype
138
- ObjectGetPrototypeOf(new String()[SymbolIterator]()),
+ ArrayIteratorPrototype, // 23.1.5
+ StringIteratorPrototype, // 22.1.5
139
// 24.1.5 MapIteratorPrototype
140
ObjectGetPrototypeOf(new Map()[SymbolIterator]()),
141
// 24.2.5 SetIteratorPrototype
0 commit comments