MCPcopy
hub / github.com/TTLabs/EvaporateJS / ext

Function ext

evaporate.js:2025–2032  ·  view source on GitHub ↗
(target, source)

Source from the content-addressed store, hash-verified

2023
2024 function extend(obj1, obj2, obj3) {
2025 function ext(target, source) {
2026 if (typeof source !== 'object') { return; }
2027 for (var key in source) {
2028 if (source.hasOwnProperty(key)) {
2029 target[key] = source[key];
2030 }
2031 }
2032 }
2033
2034 obj1 = obj1 || {};
2035 obj2 = obj2 || {};

Callers 1

extendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected