Snippets in JavaScript: Converting PascalCase to kebab-case // Integrating with ShadowDOM
Have you ever wanted to convert a string written in either PascalCase or camelCase to a hyphenated...
Tags: beginners, javascript, regex