📅  最后修改于: 2022-03-11 15:01:15.790000             🧑  作者: Mango
process.argv.slice(2).reduce((processArgs, val) => {
let [key, value] = val.split('=');
processArgs[key] = value;
return processArgs;
}, {})