Skip to content

Commit

Permalink
Update internal-metadata.js
Browse files Browse the repository at this point in the history
Some old minify plugins export objectID:"O"+++s 19line.
I hope change id calculate position.
  • Loading branch information
demonguyj committed Jun 26, 2021
1 parent 84ba59e commit 71a3baf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core-js/internals/internal-metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ 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 71a3baf

Please sign in to comment.