my-idlers/node_modules/collect.js/dist/methods/make.js

7 lines
177 B
JavaScript
Raw Normal View History

'use strict';
module.exports = function make() {
var items = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
return new this.constructor(items);
};