Полезная информация

Microsoft® JScript™
fromCharCode Method
 Language Reference 
Version 3 

See Also                  Applies To


Description
Creates a string from a number of Unicode character values.
Syntax
String.fromCharCode(code1, code2, ..., coden)

The code argument is the series of Unicode character values to convert into a string.

Remarks
A String object need not be created before calling fromCharCode.

In the following example, test contains the string "plain":

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

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.