You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
430 B

5 months ago
'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);
};