parent
643f3c452e
commit
d3901a4b10
@ -0,0 +1,16 @@
|
||||
function processData(inputString) {
|
||||
console.log("Hello, World.");
|
||||
console.log(inputString);
|
||||
}
|
||||
|
||||
|
||||
process.stdin.resume();
|
||||
process.stdin.setEncoding("ascii");
|
||||
_input = "";
|
||||
process.stdin.on("data", function (input) {
|
||||
_input += input;
|
||||
});
|
||||
|
||||
process.stdin.on("end", function () {
|
||||
processData(_input);
|
||||
});
|
Loading…
Reference in new issue