core-js
Version:
Standard library
11 lines (9 loc) • 347 B
JavaScript
;
var internalCodePointAt = require('../internals/string-at');
// `String.prototype.codePointAt` method
// https://tc39.github.io/ecma262/#sec-string.prototype.codepointat
require('../internals/export')({ target: 'String', proto: true }, {
codePointAt: function codePointAt(pos) {
return internalCodePointAt(this, pos);
}
});