fromCodePoint

fromCodePoint(integer codePoint) → string string

Returns the single-character string whose unicode codepoint is codePoint: fromCodePoint(65) returns "A". It is the inverse of codePointAt.

Codepoints above 65535 give characters such as emojis: fromCodePoint(128040) returns "🐨".

fromCodePoint(65)                // "A"
fromCodePoint(233)               // "é"
fromCodePoint(9835)              // "♫"
fromCodePoint(128040)            // "🐨"
fromCodePoint(codePointAt("é"))  // "é"
fromCodePoint(-1)                // null
fromCodePoint(0x110000)          // null
String.fromCodePoint(65)       // "A"
String.fromCodePoint(128040)   // "🐨"
chr(65)       # 'A'
chr(128040)   # '🐨'
Parameters
Return
Note