|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
292 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 | var uncurryThis = require('../internals/function-uncurry-this');
|
|---|
| 3 |
|
|---|
| 4 | var id = 0;
|
|---|
| 5 | var postfix = Math.random();
|
|---|
| 6 | var toString = uncurryThis(1.1.toString);
|
|---|
| 7 |
|
|---|
| 8 | module.exports = function (key) {
|
|---|
| 9 | return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|---|
| 10 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.