This commit is contained in:
2022-07-18 02:50:52 +00:00
parent befd344ab0
commit 06181b34d6
8569 changed files with 818704 additions and 352705 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
var core = module.exports = { version: '2.6.11' };
var core = module.exports = { version: '2.6.12' };
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
+1 -1
View File
@@ -8,5 +8,5 @@ var store = global[SHARED] || (global[SHARED] = {});
})('versions', []).push({
version: core.version,
mode: require('./_library') ? 'pure' : 'global',
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
});
+6 -1
View File
@@ -2,8 +2,13 @@
// https://github.com/mathiasbynens/String.prototype.at
var $export = require('./_export');
var $at = require('./_string-at')(true);
var $fails = require('./_fails');
$export($export.P, 'String', {
var FORCED = $fails(function () {
return '𠮷'.at(0) !== '𠮷';
});
$export($export.P + $export.F * FORCED, 'String', {
at: function at(pos) {
return $at(this, pos);
}