Web features explorer

String codePointAt() and fromCodePoint()

Widely available since 2018-03-30
Tags: javascript Groups: JavaScript > Primitive types > Strings

The codePointAt() method returns the numeric value of the UTF-16 code point at an index of the string. The fromCodePoint() method returns a string created from one or more code points.

Learning resources on MDN

Browser support

Specifications