Without using any third-party libraries, what should the developer add to index.js to create the secure web server?
A developer wants to set up a secure web server withNode.js. The developer creates a directory locally called app-server, and the first file is app-server/index.js
Without using any third-party libraries, what should the developer add to index.js to create the secure web server?
A . const https =require(‘https’);
B . const server =require(‘secure-server’);
C . const tls = require(‘tls’);
D . const http =require(‘http’);
Answer: A
Latest JavaScript Developer I Practice Questions with 144 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments