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

Function getWellKnownSymbol

lib/web/polyfill.js:382–384  ·  view source on GitHub ↗
(name, setter)

Source from the content-addressed store, hash-verified

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}
385// The engine works fine with descriptors? Thank's IE8 for his funny defineProperty.
386var DESC = !!function(){
387 try {

Callers 1

polyfill.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected