(object, name)
| 314 | } |
| 315 | |
| 316 | function getOwnPropertyDescriptor (object, name) { |
| 317 | return hasProp(object, name) |
| 318 | ? { |
| 319 | value: object[name], |
| 320 | enumerable: true, |
| 321 | configurable: true, |
| 322 | writable: true |
| 323 | } |
| 324 | : undef; |
| 325 | } |
| 326 | |
| 327 | function getOwnPropertyNames (object) { |
| 328 | return keys(object); |