(x)
| 4257 | } |
| 4258 | |
| 4259 | function enumerableOnly(x) { |
| 4260 | const copy = Array.isArray(x) ? x.slice() : Object.assign({}, x) |
| 4261 | each(copy, (prop, value) => { |
| 4262 | if (value && typeof value === "object") { |
| 4263 | copy[prop] = enumerableOnly(value) |
| 4264 | } |
| 4265 | }) |
| 4266 | return copy |
| 4267 | } |
| 4268 | |
| 4269 | function isEnumerable(base, prop) { |
| 4270 | const desc = Object.getOwnPropertyDescriptor(base, prop) |
no test coverage detected
searching dependent graphs…