Arrange the following lines of code in the correct order. Don't forget to properly indent each line.
Readline module
Order the script
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
const rl = readline.createInterface(process.stdin,process.stdout);
rl.close();
});
rl.question('What is your name? ', (answer) => {
console.log(`Nice to meet you, ${answer}`);
const readline = require('readline');
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.