You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
239 B
JavaScript
11 lines
239 B
JavaScript
6 years ago
|
'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);
|
||
|
}
|
||
|
});
|