Name

fromCharCode() — NN 4 IE J3 ECMA n/a

Synopsis

fromCharCode(num1, [, num2,[...numN]])

A static method that returns a string of one or more characters whose Unicode values are passed as a comma-delimited list of parameters. For example, the expression:

String.fromCharCode(120, 121, 122)

returns “xyz”.

Returned Value

A string.

Parameters

num1...numN

One or more integer values in an unquoted, comma-delimited list.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.