3.1.2 • Published 5 years ago

reflect-own-keys-x v3.1.2

Weekly downloads
250
License
MIT
Repository
github
Last release
5 years ago

reflect-own-keys-x

Sham for Reflect.ownKeys

module.exportsObject

This method returns an array of the target object's own property keys. Its return value is equivalent to Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target)).

Kind: Exported member
Returns: Object - An Array of the target object's own property keys.
Throws:

  • TypeError If target is not an Object.
ParamTypeDescription
target*The target object from which to get the own keys.

Example

import reflectOwnKeys from 'reflect-own-keys-x';

reflectOwnKeys({a: 1, b: 2}); // ['a', 'b']
3.1.2

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

3.0.13

5 years ago

3.0.12

5 years ago

3.0.11

5 years ago

3.0.10

5 years ago

3.0.9

5 years ago

3.0.8

5 years ago

3.0.7

5 years ago

3.0.6

5 years ago

3.0.5

5 years ago

3.0.4

5 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

8 years ago