Google News
logo
Koa.js - Quiz(MCQ)
Which of the following function launches the Koa application and listens for incoming HTTP requests?
A)
app.listen(port)
B)
app.port
C)
Listen.port
D)
app.port(listen)

Correct Answer :   app.listen(port)


Explanation : app.listen(port) function launches the Koa application and listens for incoming HTTP requests.

Advertisement