Skip to content

Commit 3e05be7

Browse files
committed
File Handling in NodeJS
1 parent af57b6f commit 3e05be7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

file-handling.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const rl = readline.createInterface({
55
output: process.stdout
66
});
77

8-
rl.question('What is your favorite food? ', answer => {
9-
console.log(`Oh!, so your favorite food is ${answer}`);
8+
rl.question('\nWhat is your favorite food? ', answer => {
9+
console.log(`\nOh!, so your favorite food is ${answer}`);
1010
rl.close();
1111
});

0 commit comments

Comments
 (0)