blob: f559af3fc27de358d3f98fc331b89bb4414b37e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
'use strict';
// https://tc39.github.io/proposal-setmap-offrom/
var $export = require('./_export');
module.exports = function (COLLECTION) {
$export($export.S, COLLECTION, { of: function of() {
var length = arguments.length;
var A = new Array(length);
while (length--) A[length] = arguments[length];
return new this(A);
} });
};
|