File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
22
33const {
4+ AggregateError,
5+ AggregateErrorPrototype,
46 Array,
57 ArrayBuffer,
68 ArrayBufferPrototype,
7476 ObjectSetPrototypeOf,
7577 Promise,
7678 PromisePrototype,
79+ RangeError,
80+ RangeErrorPrototype,
7781 ReflectApply,
7882 ReflectOwnKeys,
7983 RegExp,
@@ -114,6 +118,8 @@ const{
114118 SymbolPrototypeValueOf,
115119 SymbolToPrimitive,
116120 SymbolToStringTag,
121+ TypeError,
122+ TypeErrorPrototype,
117123 TypedArray,
118124 TypedArrayPrototype,
119125 TypedArrayPrototypeGetLength,
@@ -636,7 +642,12 @@ const wellKnownPrototypes = new SafeMap()
636642. set ( RegExpPrototype , { name : 'RegExp' , constructor : RegExp } )
637643. set ( DatePrototype , { name : 'Date' , constructor : Date } )
638644. set ( DataViewPrototype , { name : 'DataView' , constructor : DataView } )
645+
639646. set ( ErrorPrototype , { name : 'Error' , constructor : Error } )
647+ . set ( AggregateErrorPrototype , { name : 'AggregateError' , constructor : AggregateError } )
648+ . set ( RangeErrorPrototype , { name : 'RangeError' , constructor : RangeError } )
649+ . set ( TypeErrorPrototype , { name : 'TypeError' , constructor : TypeError } )
650+
640651. set ( BooleanPrototype , { name : 'Boolean' , constructor : Boolean } )
641652. set ( NumberPrototype , { name : 'Number' , constructor : Number } )
642653. set ( StringPrototype , { name : 'String' , constructor : String } )
You can’t perform that action at this time.
0 commit comments