0 votes
in NodeJS Essentials by
Which of the following is used to create a new HTTP server in Node.js?

A) http.createServer()

B) http.createServer

C) http.newServer()

D) http.newServer

1 Answer

0 votes
by
Answer: A

Explanation: The http.createServer() method is used to create a new HTTP server in Node.js.
...