mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Minor formatting nits.
This commit is contained in:
@@ -20,6 +20,8 @@ import upperFirst from './upperFirst.js';
|
||||
* startCase('__FOO_BAR__');
|
||||
* // => 'FOO BAR'
|
||||
*/
|
||||
const startCase = createCompounder((result, word, index) => result + (index ? ' ' : '') + upperFirst(word));
|
||||
const startCase = createCompounder((result, word, index) =>
|
||||
result + (index ? ' ' : '') + upperFirst(word)
|
||||
);
|
||||
|
||||
export default startCase;
|
||||
|
||||
Reference in New Issue
Block a user