Standard built-ins

String.fromCharCode()

Try the free JavaScript compiler

Converts arguments to unsigned 16-bit units and concatenates them, without validating surrogate pairing.

Formal Syntax & Structure

javascript syntaxjavascript
String.fromCharCode(...numbers)

Parameters & Attributes

NameTypeDescription
numbersNumberZero or more numeric values.

Return Value

String

Constructed text.

Working Example

Example Snippetjavascript
console.log(String.fromCharCode(65,66));
JavaScript Reference