MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / uid

Function uid

lib/web/polyfill.js:379–381  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

377 } : simpleSet;
378}
379function uid(key){
380 return SYMBOL + '(' + key + ')_' + (++sid + random())[TO_STRING](36);
381}
382function getWellKnownSymbol(name, setter){
383 return (Symbol && Symbol[name]) || (setter ? Symbol : safeSymbol)(SYMBOL + DOT + name);
384}

Callers 1

polyfill.jsFile · 0.85

Calls 1

randomFunction · 0.85

Tested by

no test coverage detected