just-map-values
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "just-map-values", | ||
"version": "1.1.0", | ||
"description": "map an object, predicate updates values, recieves (value, key, object)", | ||
"version": "1.2.0", | ||
"description": "map an object, predicate updates values, receives (value, key, object)", | ||
"main": "index.js", | ||
@@ -22,2 +22,2 @@ "scripts": { | ||
} | ||
} | ||
} |
@@ -11,3 +11,3 @@ ## just-map-object | ||
// predicate updates values, recieves (value, key, obj) | ||
// predicate updates values, receives (value, key, obj) | ||
map({a: 3, b: 5, c: 9}, (value) => value + 1); // {a: 4, b: 6, c: 10} | ||
@@ -14,0 +14,0 @@ map({a: 3, b: 5, c: 9}, (value, key) => value + key); // {a: 3a, b: 5b, c: 9c} |
3336
6
36