chushihua

This commit is contained in:
li
2026-01-26 23:20:48 +08:00
commit 7b5aab0206
22521 changed files with 3300090 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
'use strict';
require('../../modules/es6.weak-map');
require('../../modules/es7.weak-map.from');
var $WeakMap = require('../../modules/_core').WeakMap;
var $from = $WeakMap.from;
module.exports = function from(source, mapFn, thisArg) {
return $from.call(typeof this === 'function' ? this : $WeakMap, source, mapFn, thisArg);
};
+6
View File
@@ -0,0 +1,6 @@
require('../../modules/es6.object.to-string');
require('../../modules/web.dom.iterable');
require('../../modules/es6.weak-map');
require('../../modules/es7.weak-map.of');
require('../../modules/es7.weak-map.from');
module.exports = require('../../modules/_core').WeakMap;
+8
View File
@@ -0,0 +1,8 @@
'use strict';
require('../../modules/es6.weak-map');
require('../../modules/es7.weak-map.of');
var $WeakMap = require('../../modules/_core').WeakMap;
var $of = $WeakMap.of;
module.exports = function of() {
return $of.apply(typeof this === 'function' ? this : $WeakMap, arguments);
};