MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / merge

Function merge

tests/loadtest/script.js:34–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32
33// Simple merge without spread/rest (for Goja compatibility)
34function merge() {
35 var out = {};
36 for (var i = 0; i < arguments.length; i++) {
37 var src = arguments[i];
38 if (!src) continue;
39 for (var k in src) {
40 if (Object.prototype.hasOwnProperty.call(src, k)) out[k] = src[k];
41 }
42 }
43 return out;
44}
45
46export const options = buildOptions();
47

Callers 1

buildOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected