Fix typos in descriptions

This commit is contained in:
Wojciech Maj
2017-12-18 00:51:27 +01:00
parent 997e045950
commit 4b97d1182d
8 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@
Removes any properties except the ones specified from a JSON object.
Use `Object.keys()` method to loop over given json object and deleting keys that are not `include`d in given array.
also if you give it a special key(`childIndicator`) it will search deeply inside it to apply function to inner objects too.
Also if you give it a special key (`childIndicator`) it will search deeply inside it to apply function to inner objects too.
```js
const cleanObj = (obj, keysToKeep = [], childIndicator) => {