Opal-Estate-Pro/node_modules/core-js/modules/_uid.js
2019-09-13 09:44:33 +07:00

6 lines
162 B
JavaScript

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