장원석

b branch

Showing 1 changed file with 3 additions and 0 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 + if(name!="exit"){
7 console.log(`${name}`); 8 console.log(`${name}`);
8 readline.close(); 9 readline.close();
10 + }
11 + readline.close();
9 }); 12 });
...\ No newline at end of file ...\ No newline at end of file
......