Apply arrow function transform.

This commit is contained in:
John-David Dalton
2017-01-06 15:41:39 -08:00
parent d461c87979
commit 7167d7e09f
108 changed files with 172 additions and 271 deletions

View File

@@ -33,7 +33,7 @@ var hasOwnProperty = objectProto.hasOwnProperty;
* });
* // => { 'group1': ['a', 'c'], 'group2': ['b'] }
*/
var invertBy = createInverter(function(result, value, key) {
var invertBy = createInverter((result, value, key) => {
if (hasOwnProperty.call(result, value)) {
result[value].push(key);
} else {