Standard built-ins

String.fromCodePoint()

Try the free JavaScript compiler

Builds strings from integer code points in 0 through 0x10FFFF; other values throw RangeError.

Formal Syntax & Structure

javascript syntaxjavascript
String.fromCodePoint(...numbers)

Parameters & Attributes

NameTypeDescription
numbersNumberZero or more numeric values.

Return Value

String

Constructed text.

Working Example

Example Snippetjavascript
console.log(String.fromCodePoint(0x1F600));
JavaScript Reference