for-each-property
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "for-each-property", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Executes a callback for each property found on a object, with options regarding enumerability (enumerable or non-enumerable) and ownership (inherited or only own properties). It excludes built-in properties from Object and Function prototypes by default, and this behaviour can also be configured via options.", | ||
@@ -5,0 +5,0 @@ "main": "lib/for-each-property.js", |
@@ -13,2 +13,4 @@ # for-each-property | ||
Check [for-each-property-deep](https://github.com/DiegoZoracKy/for-each-property-deep) for a recursive version, which will traverse object's nested properties. | ||
## Usage | ||
@@ -30,3 +32,3 @@ | ||
**callback**: | ||
Function that will receive `(value, key)` | ||
Function that will receive `(value, key, object)` (object is the one forEachProperty() is being applied to) | ||
@@ -33,0 +35,0 @@ **options**: |
20256
149