String.fromCharCode

fromCharCode

Description

String.fromCharCode(integer code, …)

Parameters

Name Description Type Default Optional
code, … Unicode values integer No

Return values

string primitive.

Examples

Example #1 – fromCharCode example
console.log(String.fromCharCode(49, 50, 51)); // 123 console.log(String.fromCharCode(97, 98, 99)); // abc

External references