function kebab kebab(text: string): string Converts the string to kebab-case by removing punctuation, trimming extra spaces, converting to lowercase, and joining words with hyphens. Examples Example 1 kebab(null); // "" kebab("Hello World!"); // "hello-world" kebab(" Clean THIS_up!! "); // "clean-this-up" Parameters text: string Return Type string