/

HTML / CSS / JavaScript Tutorial

JavaScript String method: fromCharCode()

[this page | pdf | back links]

The fromCharCode() method (when applied to the JavaScript String object) converts Unicode values into characters.

 

It has the following syntax with the following parameters:

 

String.fromCharCode(n1, n2, …)

 

Parameter

Required / Optional

Description

n1, n2, …

Required

One or more Unicode values to be converted into a string

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript String Variables


Desktop view | Switch to Mobile