The following program was designed to create an Express app that displays the output "Working with Express" on the web browser. But the program contains some errors. Identify which code lines contain
an error.
1) var exp1= require('express');
2) var http: require('http‘);
3) var newapp = exp1()
4) use(function(req. res. next) [
5) res.end('Working with Express');
6) i):
7) https.createServer(newapp).listen(3000);
Correct Answer:
III Line 7
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Node.js MCQ Questions