API/api.medcify.app/node_modules/pm2-axon/lib/utils.js

19 lines
255 B
JavaScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
/**
* 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;
};