String.fromCodePoint() static method returns a string created from the specified sequence of code points.
syntax ↴
String.fromCodePoint(value1, value2, /* โฆ, */ valueN) ↴
value1, โฆ, valueN An integer between 0 to 1114111 (0x10FFFF) inclusive, representing a Unicode code point.
String.fromCodePoint() string created by using the specified sequence of code points.
String.fromCodePoint() can do everything that String.fromCharCode() can do but more.
String.fromCharCode() cannot return supplementary characters by specifying their code point. Instead, it requires a UTF-16 surrogate pair in order to return a supplementary character.
String.fromCharCode() input can be an integer between 0 and 65535 (0xFFFF) representing a UTF-16 code unit.
String.fromCodePoint() input can be an integer between 0 to 1114111 (0x10FFFF).
You can use String.fromCharCode() if all of the Unicode values are representable in single UTF-16 code units.
String.fromCodePoint() method throws RangeError if an invalid Unicode code point is given.
Invalid Unicode code points are non integer numbers (floats, scientific notation), is less than 0, or is greater than 1114111 (0x10FFFF), Infinity, undefined or NaN.
String.fromCodePoint() does not change the value of the original string.
hexadecimal value 0x2014 is the same as decimal value 8212.
select value(s) from from-down list above
String.fromCodePoint(value1, value2, ..., valueN)
enter value(s) into myValue below | must be numbers, seperated by a comma
String.fromCodePoint(value1, value2, ..., valueN)