cec704dc6994f94fb9694daf80f3c125fe2b2cf4e2d7d4c513d2c6c2f8ab3b3baceb2003810a8de8ec34708e9483021e721710e8274f38b8cbd074ff3b1b23 339 B

1234567891011
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var codeAt = require('../internals/string-multibyte').codeAt;
  4. // `String.prototype.codePointAt` method
  5. // https://tc39.es/ecma262/#sec-string.prototype.codepointat
  6. $({ target: 'String', proto: true }, {
  7. codePointAt: function codePointAt(pos) {
  8. return codeAt(this, pos);
  9. }
  10. });