TypeScript String charCodeAt()
Syntax & Examples


Syntax of String.charCodeAt()

The syntax of String.charCodeAt() method is:

charCodeAt(index: number): number

This charCodeAt() method of String returns the Unicode value of the character at the specified location.