@@ -52,6 +52,7 @@ var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
52
52
var nativeDefineProperty = definePropertyModule . f ;
53
53
var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal . f ;
54
54
var nativePropertyIsEnumerable = propertyIsEnumerableModule . f ;
55
+ var forEach = uncurryThis ( [ ] . forEach ) ;
55
56
var push = uncurryThis ( [ ] . push ) ;
56
57
57
58
var AllSymbols = shared ( 'symbols' ) ;
@@ -106,7 +107,7 @@ var $defineProperty = function defineProperty(O, P, Attributes) {
106
107
var $defineProperties = function defineProperties ( O , Properties ) {
107
108
anObject ( O ) ;
108
109
var properties = toObject ( Properties ) ;
109
- nativeObjectKeys ( properties ) . concat ( $getOwnPropertySymbols ( properties ) ) . forEach ( function ( key ) {
110
+ forEach ( nativeObjectKeys ( properties ) . concat ( $getOwnPropertySymbols ( properties ) ) , function ( key ) {
110
111
if ( call ( $propertyIsEnumerable , properties , key ) ) $defineProperty ( O , key , properties [ key ] ) ;
111
112
} ) ;
112
113
return O ;
@@ -137,7 +138,7 @@ var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
137
138
138
139
var $getOwnPropertyNames = function getOwnPropertyNames ( O ) {
139
140
var result = [ ] ;
140
- nativeGetOwnPropertyNames ( toObject ( O ) ) . forEach ( function ( key ) {
141
+ forEach ( nativeGetOwnPropertyNames ( toObject ( O ) ) , function ( key ) {
141
142
if ( ! hasOwn ( AllSymbols , key ) && ! hasOwn ( hiddenKeys , key ) ) push ( result , key ) ;
142
143
} ) ;
143
144
return result ;
@@ -146,7 +147,7 @@ var $getOwnPropertyNames = function getOwnPropertyNames(O) {
146
147
var $getOwnPropertySymbols = function ( O ) {
147
148
var IS_OBJECT_PROTOTYPE = O === ObjectPrototype ;
148
149
var result = [ ] ;
149
- nativeGetOwnPropertyNames ( IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toObject ( O ) ) . forEach ( function ( key ) {
150
+ forEach ( nativeGetOwnPropertyNames ( IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toObject ( O ) ) , function ( key ) {
150
151
if ( hasOwn ( AllSymbols , key ) && ( ! IS_OBJECT_PROTOTYPE || hasOwn ( ObjectPrototype , key ) ) ) {
151
152
push ( result , AllSymbols [ key ] ) ;
152
153
}
@@ -214,7 +215,7 @@ $({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !
214
215
Symbol : $Symbol ,
215
216
} ) ;
216
217
217
- nativeObjectKeys ( WellKnownSymbolsStore ) . forEach ( function ( name ) {
218
+ forEach ( nativeObjectKeys ( WellKnownSymbolsStore ) , function ( name ) {
218
219
defineWellKnownSymbol ( name ) ;
219
220
} ) ;
220
221
0 commit comments