MCPcopy Index your code
hub / github.com/vuejs/composition-api / clone

Function clone

test/setup.spec.js:450–450  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

448
449 it("should put a unenumerable '__ob__' for non-reactive object", () => {
450 const clone = (obj) => JSON.parse(JSON.stringify(obj))
451 const componentSetup = vi.fn((props) => {
452 const internalOptions = clone(props.options)
453 return { internalOptions }

Callers 1

setup.spec.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…