Example 1 — Official: Foo Bar
Spaces become hyphens; letters go lowercase.
_.kebabCase('Foo Bar');
// → 'foo-bar' How It Works
- Split. Space separates
FooandBar. - Lower. Each word becomes lowercase.
- Join. Words are joined with
-. - Official. Same as the Lodash docs.

