String codePointAt() and fromCodePoint()
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.
Status
Baseline Widely Available (since 2018-03-30)
MDN documentation
Specifications
- ECMAScript® 2026 Language Specification (#sec-string-objects), from TC39 (Ecma International).
Browser support
- Chrome 41 Released on 2015-03-03
- Chrome Android 41 Released on 2015-03-11
- Edge 12 Released on 2015-07-29
- Firefox 29 Released on 2014-04-29
- Firefox for Android 29 Released on 2014-04-29
- Safari 9 Released on 2015-09-30
- Safari on iOS 9 Released on 2015-09-16
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist