diff --git a/01_Day_Introduction/helloworld.js b/01_Day_Introduction/helloworld.js new file mode 100644 index 0000000..efc5647 --- /dev/null +++ b/01_Day_Introduction/helloworld.js @@ -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); +});