fromCharCode Function

Top  Previous  Next

Convert a Unicode number into a character:

Syntax

String.fromCharCode(number)

Arguments

numberA Unicode number to. be converted into a character.

Return Value

A character which is the conversion of a Unicode number.

Examples

String.fromCharCode(68)        // Returns D