How can we create instance of http module

By Rebecca
0 Min Read

How can we create instance of http module

a) var http = require(“http”)

b) var http = new require(“http”)

c) var http = new http()

d) None of the above

Answer:

a) var http = require(“http”)

How can we create instance of http module

Read more: In a miniature wonderland three countries

Posted by Rebecca
Follow:
Rebecca is an Independent content writer for breldigital, She writes content on any given topic. She loves to write a case study article or reviews on a brand, Be it any topic, she nails it