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