在terminal输入node app.js anne 运行后无法显示anne
console.log(process.argv)
收起
加入点别的代码,看看你的脚本真的被执行了么,还是根本没执行
报告相同问题?