This documentation is archived and is not being maintained.

fromCharCode Method 

Returns a string from a number of Unicode character values.

function fromCharCode([code1 : Number [, ... [, codeN : Number]]]]) : String

code1, ... , codeN

Optional. A series of Unicode character values to convert to a string. If no arguments are supplied, the result is the empty string.

The fromCharCode method is called from the global String object.

In the following example, test is assigned the string "plain":

var test = String.fromCharCode(112, 108, 97, 105, 110);