11 lines
239 B
JavaScript
11 lines
239 B
JavaScript
|
'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);
|
||
|
}
|
||
|
});
|