Generation

generate functionWed, 16 Nov 2022

logging text one by one letter

function write(text) { for (var i = 0; i < text.length; i++) { setTimeout(function() { process.stdout.write(text[i]); }, i * 100); } }

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant