MCPcopy Create free account
hub / github.com/RubyLouvre/anu / cloneSymbol

Function cloneSymbol

test/babel.js:52354–52356  ·  view source on GitHub ↗

* Creates a clone of the `symbol` object. * * @private * @param {Object} symbol The symbol object to clone. * @returns {Object} Returns the cloned symbol object.

(symbol)

Source from the content-addressed store, hash-verified

52352 * @returns {Object} Returns the cloned symbol object.
52353 */
52354 function cloneSymbol(symbol) {
52355 return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
52356 }
52357
52358 module.exports = cloneSymbol;
52359

Callers 1

initCloneByTagFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected