Quiz Question 1 of 8
What is the output from the following code?
var http = require("http");
var i = 5;
http.createServer(function(request, response) {
response.writeHead(200, {'Content-Type': 'text/plain'});
setInterval(function(){
response.write(i + "\n");
if(i === 0) {
response.end("Blast off\n");
}
i--;
}, 1000);
}).listen(3000);
Choose the correct answer below: