(obj)
| 133 | } |
| 134 | |
| 135 | function constructorName(obj) { |
| 136 | if (!obj.constructor) return null |
| 137 | let m = String(obj.constructor).match(/^function\s*([^\s(]+)/) |
| 138 | if (m && m[1] != "Object") return m[1] |
| 139 | } |
| 140 | |
| 141 | function hop(obj, prop) { |
| 142 | return Object.prototype.hasOwnProperty.call(obj, prop) |
no outgoing calls
no test coverage detected