9 lines
252 B
JavaScript
9 lines
252 B
JavaScript
|
'use strict';
|
||
|
var $export = require('./$.export')
|
||
|
, $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);
|
||
|
}
|
||
|
});
|