function pascal pascal(text: string): string Converts the string to PascalCase by removing punctuation, trimming extra spaces, and capitalizing every word. Examples Example 1 pascal(null); // "" pascal("hello world"); // "HelloWorld" pascal("user_profile_page"); // "UserProfilePage" Parameters text: string Return Type string