maleck13 / readline

read line module for node js
93 stars 27 forks source link

Lack of more examples on the README #30

Open Kazbonfim opened 3 months ago

Kazbonfim commented 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() }); `