Take input in javascript from console and store in array without new line \n

前端 未结 0 1796
别跟我提以往
别跟我提以往 2021-01-16 14:44
Var stdin = process.openStdin();
stdin.addListener("data",function(d){});

How can I fetch input from this? I\'ve tried d.toString.tr

相关标签:
回答
  • 消灭零回复
提交回复
热议问题