Skip to content

Commit 88d474f

Browse files
aduh95ExE-Boss
andauthored
fixup! bootstrap: freeze more intrinsics
Co-authored-by: ExE Boss <[email protected]>
1 parent 386776d commit 88d474f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/internal/freeze_intrinsics.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,8 @@ module.exports = function() {
132132

133133
const intrinsicPrototypes = [
134134
// Anonymous Intrinsics
135-
// 23.1.5 ArrayIteratorPrototype
136-
ObjectGetPrototypeOf(new Array()[SymbolIterator]()),
137-
// 22.1.5 StringIteratorPrototype
138-
ObjectGetPrototypeOf(new String()[SymbolIterator]()),
135+
ArrayIteratorPrototype, // 23.1.5
136+
StringIteratorPrototype, // 22.1.5
139137
// 24.1.5 MapIteratorPrototype
140138
ObjectGetPrototypeOf(new Map()[SymbolIterator]()),
141139
// 24.2.5 SetIteratorPrototype

0 commit comments

Comments
 (0)