(obj)
| 68 | } |
| 69 | |
| 70 | const clone = function (obj) { |
| 71 | if ((obj === null) || (typeof (obj) !== 'object')) { return obj } |
| 72 | const temp = obj.constructor() |
| 73 | for (const key in obj) { |
| 74 | temp[key] = clone(obj[key]) |
| 75 | } |
| 76 | return temp |
| 77 | } |
| 78 | |
| 79 | const combineAncestralObject = function (obj, propertyName) { |
| 80 | const combined = {} |
nothing calls this directly
no test coverage detected