(obj)
| 279 | // Retrieve the names of an object's own properties. |
| 280 | // Delegates to **ECMAScript 5**'s native `Object.keys`. |
| 281 | function keys(obj) { |
| 282 | if (!isObject(obj)) return []; |
| 283 | if (nativeKeys) return nativeKeys(obj); |
| 284 | var keys = []; |
| 285 | for (var key in obj) if (has$1(obj, key)) keys.push(key); |
| 286 | // Ahem, IE < 9. |
| 287 | if (hasEnumBug) collectNonEnumProps(obj, keys); |
| 288 | return keys; |
| 289 | } |
| 290 | |
| 291 | // Is a given array, string, or object empty? |
| 292 | // An "empty" object has no enumerable own-properties. |
no test coverage detected
searching dependent graphs…