amis-rpc-design/node_modules/core-js/full/map/of.js

15 lines
430 B
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
'use strict';
require('../../modules/es.array.iterator');
require('../../modules/es.map');
require('../../modules/esnext.map.of');
var path = require('../../internals/path');
var apply = require('../../internals/function-apply');
var isCallable = require('../../internals/is-callable');
var Map = path.Map;
var mapOf = Map.of;
module.exports = function of() {
return apply(mapOf, isCallable(this) ? this : Map, arguments);
};