mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 18:37:50 +00:00
Apply even more let/const transforms.
This commit is contained in:
@@ -21,6 +21,6 @@ import createCompounder from './_createCompounder.js';
|
||||
* _.kebabCase('__FOO_BAR__');
|
||||
* // => 'foo-bar'
|
||||
*/
|
||||
var 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