Home > @wixc3/common > toPascalCaseJsIdentifier
Similar to toPascalCase(), but drops heading non-letters
Signature:
export declare function toPascalCaseJsIdentifier(str: string): string;
Parameter | Type | Description |
---|---|---|
str | string |
Returns:
string
toPascalCaseJsIdentifier("123helloWorld") // => "HelloWorld"