JavaScript fromCharCode() Method

The JavaScript fromCharCode method converts Unicode values into characters.

Syntax:

String.fromCharCode(n1, n2, …, nX)

Example:

var word = String.fromCharCode(72,69,76,76,79);
alert(word);  //OUTPUT: HELLO

Live Demo: JavaScript fromCharCode() method

Leave a Reply