2016-10-10 03:43:44 +02:00
|
|
|
'use strict';
|
|
|
|
// https://github.com/mathiasbynens/String.prototype.at
|
2017-08-14 05:01:11 +02:00
|
|
|
var $export = require('./_export');
|
|
|
|
var $at = require('./_string-at')(true);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
$export($export.P, 'String', {
|
2017-08-14 05:01:11 +02:00
|
|
|
at: function at(pos) {
|
2016-10-10 03:43:44 +02:00
|
|
|
return $at(this, pos);
|
|
|
|
}
|
2017-08-14 05:01:11 +02:00
|
|
|
});
|