myString.fromCharCode( [ charCode0 ], [ charCode1 ], [ ... ] ) in ECMAScript 262

Create a new string from a series of Unicode character values.

Arguments

nametypedescription
charCode0 Number [optional] The first Unicode character co
charCode1 Number [optional] The second Unicode character c
... Number [optional] etc.
Return Type
String

Description

This is a method of the String class itself, and does not apply to string instances. As such, it must be called as String.fromCharCode(...), for example:

var msg = String.fromCharCode(72,101,108,108,111,32,87,111,114,108,100);
// ** msg is "Hello World"