work.suroh.tk/node_modules/core-js/modules/es6.string.code-point-at.js

10 lines
249 B
JavaScript
Raw Normal View History

2019-12-02 12:22:45 +00: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);
}
});