2 require('../../modules/es.array.iterator');
3 require('../../modules/es.string.iterator');
4 require('../../modules/es.weak-map');
5 require('../../modules/esnext.weak-map.from');
6 require('../../modules/web.dom-collections.iterator');
7 var call = require('../../internals/function-call');
8 var isCallable = require('../../internals/is-callable');
9 var path = require('../../internals/path');
11 var WeakMap = path.WeakMap;
12 var $from = WeakMap.from;
14 module.exports = function from(source, mapFn, thisArg) {
15 return call($from, isCallable(this) ? this : WeakMap, source, mapFn, thisArg);