1 2 3 4 5
const process = require("process"); for (const arg of process.argv.slice(2)) { console.log(arg); }