Minor linting issue

This commit is contained in:
Oscar Shrimpton
2018-01-30 20:50:32 +00:00
parent e0729c0683
commit 439101197b

View File

@ -9,7 +9,7 @@ The tenerary function checks the next function exists before calling it, otherwi
```js
const chainAsync = fns => {
let curr = 0;
const next = () => fns[++curr] ? fns[curr](next) : false;
const next = () => (fns[++curr] ? fns[curr](next) : false);
next();
};
```