mirror of
https://gitlab.com/octtspacc/staticoso
synced 2025-06-05 22:09:23 +02:00
First support for md extensions; Package all needed dependencies in the repo
This commit is contained in:
19
Source/node_modules/core-js/modules/es6.array.of.js
generated
vendored
Normal file
19
Source/node_modules/core-js/modules/es6.array.of.js
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
var $export = require('./_export');
|
||||
var createProperty = require('./_create-property');
|
||||
|
||||
// WebKit Array.of isn't generic
|
||||
$export($export.S + $export.F * require('./_fails')(function () {
|
||||
function F() { /* empty */ }
|
||||
return !(Array.of.call(F) instanceof F);
|
||||
}), 'Array', {
|
||||
// 22.1.2.3 Array.of( ...items)
|
||||
of: function of(/* ...args */) {
|
||||
var index = 0;
|
||||
var aLen = arguments.length;
|
||||
var result = new (typeof this == 'function' ? this : Array)(aLen);
|
||||
while (aLen > index) createProperty(result, index, arguments[index++]);
|
||||
result.length = aLen;
|
||||
return result;
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user