MCPcopy
hub / github.com/tc39/proposal-observable / getSymbol

Function getSymbol

test/helpers.js:58–61  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

56}
57
58export function getSymbol(name) {
59
60 return hasSymbol(name) ? Symbol[name] : "@@" + name;
61}

Calls 1

hasSymbolFunction · 0.70

Tested by

no test coverage detected