3.1.2 • Published 6 years ago
get-own-property-names-x v3.1.2
get-own-property-names-x
Creates an array of all properties (enumerable or not) found directly upon a given object.
Version: 2.2.0
Author: Xotic750 Xotic750@gmail.com
License: MIT
Copyright: Xotic750
module.exports
⇒ array ⏏
This method creates an array of all properties (enumerable or not) found directly upon a given object.
Kind: Exported member
Returns: array - An array of strings that correspond to the properties found
directly upon the given object.
Throws:
- TypeError If target is null or undefined.
Param | Type | Description |
---|---|---|
obj | object | The object whose enumerable and non-enumerable own properties are to be returned. |
Example
import getOwnPropertyName from 'get-own-property-name-x';
getOwnPropertyNames('foo'); // ["0", "1", "2", "length"]
3.1.2
6 years ago
3.1.1
6 years ago
3.1.0
6 years ago
3.0.14
6 years ago
3.0.13
6 years ago
3.0.12
6 years ago
3.0.11
6 years ago
3.0.10
6 years ago
3.0.9
6 years ago
3.0.8
6 years ago
3.0.7
6 years ago
3.0.6
6 years ago
3.0.5
6 years ago
3.0.4
6 years ago
3.0.3
6 years ago
3.0.2
6 years ago
3.0.1
6 years ago
3.0.0
6 years ago
2.2.0
8 years ago
2.1.0
8 years ago
2.0.0
8 years ago
1.0.0
8 years ago