aboutsummaryrefslogtreecommitdiff
path: root/node_modules/babel-register/node_modules/core-js/library/modules/es7.string.at.js
blob: 8b3ab98db42a9d5f9e5939640090f8c1156bf606 (plain)
1
2
3
4
5
6
7
8
9
10
'use strict';
// https://github.com/mathiasbynens/String.prototype.at
var $export = require('./_export');
var $at = require('./_string-at')(true);

$export($export.P, 'String', {
  at: function at(pos) {
    return $at(this, pos);
  }
});