.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / features / weak-map / from.js
1 'use strict';
2 require('../../modules/es.string.iterator');
3 require('../../modules/es.weak-map');
4 require('../../modules/esnext.weak-map.from');
5 require('../../modules/web.dom-collections.iterator');
6 var path = require('../../internals/path');
7
8 var WeakMap = path.WeakMap;
9 var weakMapFrom = WeakMap.from;
10
11 module.exports = function from(source, mapFn, thisArg) {
12   return weakMapFrom.call(typeof this === 'function' ? this : WeakMap, source, mapFn, thisArg);
13 };