MCPcopy Create free account
hub / github.com/Hashnode/starter-kit / merge

Function merge

packages/utils/renderer/marked.js:1263–1278  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1261 noop.exec = noop;
1262
1263 function merge(obj) {
1264 var i = 1,
1265 target,
1266 key;
1267
1268 for (; i < arguments.length; i++) {
1269 target = arguments[i];
1270 for (key in target) {
1271 if (Object.prototype.hasOwnProperty.call(target, key)) {
1272 obj[key] = target[key];
1273 }
1274 }
1275 }
1276
1277 return obj;
1278 }
1279
1280 /**
1281 * Marked

Callers 2

marked.jsFile · 0.85
markedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected