PageRenderTime 18ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/node_modules/babel-polyfill/node_modules/core-js/library/fn/weak-map/from.js

https://bitbucket.org/worklabschd/bingle_customer2
JavaScript | 8 lines | 8 code | 0 blank | 0 comment | 0 complexity | 178672fa4c6728d59188db80db41edfd MD5 | raw file
1'use strict';
2require('../../modules/es6.weak-map');
3require('../../modules/es7.weak-map.from');
4var $WeakMap = require('../../modules/_core').WeakMap;
5var $from = $WeakMap.from;
6module.exports = function from(source, mapFn, thisArg) {
7  return $from.call(typeof this === 'function' ? this : $WeakMap, source, mapFn, thisArg);
8};