mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Apply arrow function transform.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user