Skip to content

Commit fe4ac8a

Browse files
committed
avoid some extra work
1 parent c22285c commit fe4ac8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core-js/internals/object-to-array.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var push = uncurryThis([].push);
1111

1212
// in some IE versions, `propertyIsEnumerable` returns incorrect result on integer keys
1313
// of `null` prototype objects
14-
var IE_BUG = fails(function () {
14+
var IE_BUG = DESCRIPTORS && fails(function () {
1515
// eslint-disable-next-line es/no-object-create -- safe
1616
var O = Object.create(null);
1717
O[2] = 2;

0 commit comments

Comments
 (0)