Skip to content

Commit 90e84c8

Browse files
authored
Update internal-metadata.js
id smaller
1 parent 71a3baf commit 90e84c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core-js/internals/internal-metadata.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ var isExtensible = Object.isExtensible || function () {
1414
};
1515

1616
var setMetadata = function (it) {
17-
id++;
1817
defineProperty(it, METADATA, { value: {
19-
objectID: 'O' + id, // object ID
18+
objectID: 'O' + id++, // object ID
2019
weakData: {} // weak collections IDs
2120
} });
2221
};

0 commit comments

Comments
 (0)