Skip to content

Commit

Permalink
avoid some extra work
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Jun 11, 2023
1 parent c22285c commit fe4ac8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-js/internals/object-to-array.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var push = uncurryThis([].push);

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

0 comments on commit fe4ac8a

Please sign in to comment.