aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/features/weak-map/of.js
blob: 5bdf627e8be4c8cc565db2fe8cb045a197122686 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict';
require('../../modules/es.string.iterator');
require('../../modules/es.weak-map');
require('../../modules/esnext.weak-map.of');
require('../../modules/web.dom-collections.iterator');
var path = require('../../internals/path');

var WeakMap = path.WeakMap;
var weakMapOf = WeakMap.of;

module.exports = function of() {
  return weakMapOf.apply(typeof this === 'function' ? this : WeakMap, arguments);
};