Travis build: 1209

This commit is contained in:
30secondsofcode
2018-01-12 11:39:03 +00:00
parent 56b631da0d
commit e6a3f3644c
3 changed files with 24 additions and 48 deletions

View File

@ -9,7 +9,10 @@ Omit the second argument, `inherited`, to not include inherited properties by de
```js
const functions = (obj, inherited = false) =>
(inherited ? [...Object.keys(obj), ...Object.keys(Object.getPrototypeOf(obj))] : Object.keys(obj)).filter(key => typeof obj[key] === 'function');
(inherited
? [...Object.keys(obj), ...Object.keys(Object.getPrototypeOf(obj))]
: Object.keys(obj)
).filter(key => typeof obj[key] === 'function');
```
```js