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

https://bitbucket.org/worklabschd/bingle_customer2 · JavaScript · 8 lines · 8 code · 0 blank · 0 comment · 0 complexity · 860bfad38b85ea55396b2ab44c37e30a MD5 · raw file

  1. 'use strict';
  2. require('../../modules/es6.weak-map');
  3. require('../../modules/es7.weak-map.of');
  4. var $WeakMap = require('../../modules/_core').WeakMap;
  5. var $of = $WeakMap.of;
  6. module.exports = function of() {
  7. return $of.apply(typeof this === 'function' ? this : $WeakMap, arguments);
  8. };