MCPcopy Create free account
hub / github.com/bendytree/explainjs / clone

Function clone

samples/lodash.js:791–873  ·  view source on GitHub ↗

* Creates a clone of `value`. If `deep` is `true`, nested objects will also * be cloned, otherwise they will be assigned by reference. If a `callback` * function is passed, it will be executed to produce the cloned values. If * `callback` returns `undefined`, cloning will be handled b

(value, deep, callback, thisArg, stackA, stackB)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

cloneDeepFunction · 0.85

Calls 4

isObjectFunction · 0.85
isArrayFunction · 0.85
sliceFunction · 0.85
assignFunction · 0.85

Tested by

no test coverage detected