mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Apply arrow function transform.
This commit is contained in:
@@ -22,8 +22,6 @@ import upperFirst from './upperFirst.js';
|
||||
* _.startCase('__FOO_BAR__');
|
||||
* // => 'FOO BAR'
|
||||
*/
|
||||
var startCase = createCompounder(function(result, word, index) {
|
||||
return result + (index ? ' ' : '') + upperFirst(word);
|
||||
});
|
||||
var startCase = createCompounder((result, word, index) => result + (index ? ' ' : '') + upperFirst(word));
|
||||
|
||||
export default startCase;
|
||||
|
||||
Reference in New Issue
Block a user