This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get process.stdin as the standard input object. | |
var standard_input = process.stdin; | |
// Set input character encoding. | |
// Although not mendatory | |
standard_input.setEncoding('utf-8'); | |
// Prompt user to input data in console. | |
console.log("Enter your name"); |
NewerOlder