Remove unneeded closing parenthesis

This commit is contained in:
Robert Mennell
2018-05-31 10:57:28 -07:00
committed by GitHub
parent 22cad5941e
commit 8ff17839b9

View File

@ -6,7 +6,7 @@ Given an Iterable or Array like structure we call Array.prototype.reduce.call on
```js ```js
const toHash = ( object, key ) => const toHash = ( object, key ) =>
Array.prototype.reduce.call( object, ( acc, data, index ) => ( ( acc[ !key ? index : data[ key ] ] = data ), acc ), {} ) ) Array.prototype.reduce.call( object, ( acc, data, index ) => ( ( acc[ !key ? index : data[ key ] ] = data ), acc ), {} )
``` ```
```js ```js