Show More
Commit Description:
add model solution
Commit Description:
add model solution
References:
File last commit:
Show/Diff file:
Action:
node_modules/core-js/modules/_set-collection-of.js
| 12 lines
| 350 B
| application/javascript
| JavascriptLexer
|
r789 | '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); | ||||
} }); | ||||
}; | ||||