I want to convert these strings:
fooBar FooBar
into:
foo-bar -foo-bar
How would I do this in JavaScript the m
Maybe you could use kebabCase from lodash: https://lodash.com/docs/4.17.15#kebabCase
kebabCase