lepu-test-platform-web/node_modules/core-js/internals/uid.js

7 lines
177 B
JavaScript
Raw Normal View History

var id = 0;
var postfix = Math.random();
module.exports = function (key) {
return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
};