mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 22:33:17 +00:00
7 lines
177 B
JavaScript
7 lines
177 B
JavaScript
|
var id = 0;
|
||
|
var postfix = Math.random();
|
||
|
|
||
|
module.exports = function (key) {
|
||
|
return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
|
||
|
};
|