process.stdin示例演示

作者:admin     字体:[增加 减小]    类型:原创
```brush:js //恢复流 process.stdin.resume(); process.stdin.on('data',function(str){ process.stdout.write('read from console
```brush:js //恢复流 process.stdin.resume(); process.stdin.on('data',function(str){ process.stdout.write('read from console:' + str.toString()); }); ``` 示例演示结果如下: process.stdin示例演示