Skip to content

Commit

Permalink
Update internal-metadata.js
Browse files Browse the repository at this point in the history
id smaller
  • Loading branch information
demonguyj committed Jun 26, 2021
1 parent 71a3baf commit 90e84c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/core-js/internals/internal-metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ var isExtensible = Object.isExtensible || function () {
};

var setMetadata = function (it) {
id++;
defineProperty(it, METADATA, { value: {
objectID: 'O' + id, // object ID
objectID: 'O' + id++, // object ID
weakData: {} // weak collections IDs
} });
};
Expand Down

0 comments on commit 90e84c8

Please sign in to comment.