장원석

b branch

Showing 1 changed file with 4 additions and 1 deletions
...@@ -4,6 +4,9 @@ const readline = require('readline').createInterface({ ...@@ -4,6 +4,9 @@ const readline = require('readline').createInterface({
4 }); 4 });
5 5
6 readline.question('', name => { 6 readline.question('', name => {
7 - console.log(`${name}`); 7 + if(name!="exit"){
8 + console.log(`${name}`);
9 + readline.close();
10 + }
8 readline.close(); 11 readline.close();
9 }); 12 });
...\ No newline at end of file ...\ No newline at end of file
......