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

@@ -20,8 +20,6 @@ import createCompounder from './_createCompounder.js';
* _.lowerCase('__FOO_BAR__');
* // => 'foo bar'
*/
var lowerCase = createCompounder(function(result, word, index) {
return result + (index ? ' ' : '') + word.toLowerCase();
});
var lowerCase = createCompounder((result, word, index) => result + (index ? ' ' : '') + word.toLowerCase());
export default lowerCase;