API/api.medcify.app/node_modules/pm2-axon/lib/utils.js
2022-09-26 11:41:44 +05:30

19 lines
255 B
JavaScript

/**
* Slice helper.
*
* @api private
* @param {Arguments} args
* @return {Array}
*/
exports.slice = function(args){
var len = args.length;
var ret = new Array(len);
for (var i = 0; i < len; i++) {
ret[i] = args[i];
}
return ret;
};