Open Kazbonfim opened 3 months ago
I was studying right now, and i've noticed that the oficial doc don't have the same lines that my professor is using - and i am thinking, why this? There is a different session i've not gon' through?
The lines where: `const readline = require('readline').createInterface({ input: process.stdin, output: process.stdout, });
readline.question("Qual a sua linguagem preferida? ", (language) => { console.log(A minha linguagem preferida é: ${language}); readline.close() }); `
A minha linguagem preferida é: ${language}
I was studying right now, and i've noticed that the oficial doc don't have the same lines that my professor is using - and i am thinking, why this? There is a different session i've not gon' through?
The lines where: `const readline = require('readline').createInterface({ input: process.stdin, output: process.stdout, });
readline.question("Qual a sua linguagem preferida? ", (language) => { console.log(
A minha linguagem preferida é: ${language}
); readline.close() }); `