1 | ;
|
2 | var $ = require('../internals/export');
|
3 | var codeAt = require('../internals/string-multibyte').codeAt;
|
4 |
|
5 | // `String.prototype.codePointAt` method
|
6 | // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat
|
7 | $({ target: 'String', proto: true }, {
|
8 | codePointAt: function codePointAt(pos) {
|
9 | return codeAt(this, pos);
|
10 | }
|
11 | });
|