Simon Priet 9e2991e668 init
2021-09-05 22:53:58 +02: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));
};