📜  (函数() { var a = b = 5; })();控制台.log(b); - Javascript代码示例

📅  最后修改于: 2022-03-11 15:01:17.079000             🧑  作者: Mango

代码示例3
var readline = require('readline');

var rl = readline.createInterface({
  input: process.stdin,
  output: process.stdout
});

rl.question("What do you think of node.js? ", function(answer) {
  console.log("Thank you for your valuable feedback:", answer);

  rl.close();
});