For javascript programming example code, example: input a b output A+B results

  node.js, question

What is the standard input format, which can be compiled and executed under the node environment. in the command line, it seems that process is used

 var input = '';
 process.stdin.on('data', function (data) {
 Input = data;
 process.stdin.on('end', function () {
 var arr = input.split("\n");
 //What do you want to do next