2023-10-03 11:14:36 +08:00
|
|
|
'use strict';
|
|
|
|
var $export = require('./_export');
|
|
|
|
var $at = require('./_string-at')(false);
|
|
|
|
$export($export.P, 'String', {
|
|
|
|
// 21.1.3.3 String.prototype.codePointAt(pos)
|
|
|
|
codePointAt: function codePointAt(pos) {
|
|
|
|
return $at(this, pos);
|
|
|
|
}
|
|
|
|
});
|