Updated examples
This commit is contained in:
committed by
Agamemnon Zorbas
parent
99a07d22dd
commit
97c250bcfb
@ -13,9 +13,9 @@ const toKebabCase = str =>
|
||||
```
|
||||
|
||||
```js
|
||||
toKebabCase("camelCase") -> 'camel-case'
|
||||
toKebabCase("some text") -> 'some-text'
|
||||
toKebabCase("some-mixed_string With spaces_underscores-and-hyphens") -> 'some-mixed-string-with-spaces-underscores-and-hyphens'
|
||||
toKebabCase("AllThe-small Things") -> "all-the-small-things"
|
||||
toKebabCase('IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML') -> "i-am-listening-to-fm-while-loading-different-url-on-my-browser-and-also-editing-xml-and-html"
|
||||
toKebabCase("camelCase") // 'camel-case'
|
||||
toKebabCase("some text") // 'some-text'
|
||||
toKebabCase("some-mixed_string With spaces_underscores-and-hyphens") // 'some-mixed-string-with-spaces-underscores-and-hyphens'
|
||||
toKebabCase("AllThe-small Things") // "all-the-small-things"
|
||||
toKebabCase('IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML') // "i-am-listening-to-fm-while-loading-different-url-on-my-browser-and-also-editing-xml-and-html"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user