wallet-core/node_modules/core-js/modules/$.uid.js
2017-05-03 15:35:00 +02:00

5 lines
158 B
JavaScript

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