mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Minor formatting nits.
This commit is contained in:
@@ -19,6 +19,8 @@ import createCompounder from './.internal/createCompounder.js';
|
||||
* kebabCase('__FOO_BAR__');
|
||||
* // => 'foo-bar'
|
||||
*/
|
||||
const kebabCase = createCompounder((result, word, index) => result + (index ? '-' : '') + word.toLowerCase());
|
||||
const kebabCase = createCompounder((result, word, index) =>
|
||||
result + (index ? '-' : '') + word.toLowerCase()
|
||||
);
|
||||
|
||||
export default kebabCase;
|
||||
|
||||
Reference in New Issue
Block a user