Example 1 — Official: Hyphenated String
Hyphens become spaces; words go uppercase.
console.log(_.upperCase("--foo-bar"));
// 'FOO BAR' How It Works
- Split.
--and-mark word edges. - Words. Lodash finds
fooandbar. - Upper. Each word becomes uppercase.
- Docs. Matches the official first example.

