MCPcopy Create free account
hub / github.com/angular/dev-infra / deepClone

Function deepClone

github-actions/browserstack/set-browserstack-env.js:1310–1312  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1308 return servername;
1309 }
1310 function deepClone(obj) {
1311 return JSON.parse(JSON.stringify(obj));
1312 }
1313 function isAsyncIterable(obj) {
1314 return !!(obj != null && typeof obj[Symbol.asyncIterator] === "function");
1315 }

Callers

nothing calls this directly

Calls 1

stringifyMethod · 0.45

Tested by

no test coverage detected