es7.string.at.js 239 B

12345678910
  1. 'use strict';
  2. // https://github.com/mathiasbynens/String.prototype.at
  3. var $export = require('./_export');
  4. var $at = require('./_string-at')(true);
  5. $export($export.P, 'String', {
  6. at: function at(pos) {
  7. return $at(this, pos);
  8. }
  9. });