That is done by: process.argv.slice(2)[0] The first two arguments are node, and the name of the file you are running.
確定! 回上一頁