diff options
Diffstat (limited to 'node_modules/core-js/library/modules/_uid.js')
-rw-r--r-- | node_modules/core-js/library/modules/_uid.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/node_modules/core-js/library/modules/_uid.js b/node_modules/core-js/library/modules/_uid.js new file mode 100644 index 000000000..3be4196bb --- /dev/null +++ b/node_modules/core-js/library/modules/_uid.js @@ -0,0 +1,5 @@ +var id = 0 + , px = Math.random(); +module.exports = function(key){ + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); +};
\ No newline at end of file |