(obj, target)
| 4965 | } |
| 4966 | |
| 4967 | function copyObj(obj, target) { |
| 4968 | if (!target) target = {}; |
| 4969 | for (var prop in obj) if (obj.hasOwnProperty(prop)) target[prop] = obj[prop]; |
| 4970 | return target; |
| 4971 | } |
| 4972 | |
| 4973 | function emptyArray(size) { |
| 4974 | for (var a = [], i = 0; i < size; ++i) a.push(undefined); |
no outgoing calls
no test coverage detected