PageRenderTime 26ms CodeModel.GetById 23ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/node_modules/babel-polyfill/node_modules/core-js/library/modules/_set-collection-of.js

https://bitbucket.org/worklabschd/bingle_customer2
JavaScript | 12 lines | 10 code | 1 blank | 1 comment | 1 complexity | 3480e04c685ccfd92d885f5c3d5e5e17 MD5 | raw file
 1'use strict';
 2// https://tc39.github.io/proposal-setmap-offrom/
 3var $export = require('./_export');
 4
 5module.exports = function (COLLECTION) {
 6  $export($export.S, COLLECTION, { of: function of() {
 7    var length = arguments.length;
 8    var A = new Array(length);
 9    while (length--) A[length] = arguments[length];
10    return new this(A);
11  } });
12};