3.1.2 • Published 5 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
5 years ago
3.1.1
5 years ago
3.1.0
5 years ago
3.0.14
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.0.0
7 years ago