source: trip-planner-front/node_modules/core-js/features/weak-map/from.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 505 bytes
Line 
1'use strict';
2require('../../modules/es.array.iterator');
3require('../../modules/es.string.iterator');
4require('../../modules/es.weak-map');
5require('../../modules/esnext.weak-map.from');
6require('../../modules/web.dom-collections.iterator');
7var path = require('../../internals/path');
8
9var WeakMap = path.WeakMap;
10var weakMapFrom = WeakMap.from;
11
12module.exports = function from(source, mapFn, thisArg) {
13 return weakMapFrom.call(typeof this === 'function' ? this : WeakMap, source, mapFn, thisArg);
14};
Note: See TracBrowser for help on using the repository browser.