PageRenderTime 25ms CodeModel.GetById 18ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

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

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