Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 50 Topic 6 Discussion

Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 50 Topic 6 Discussion

JavaScript-Developer-I Exam Topic 6 Question 50 Discussion:
Question #: 50
Topic #: 6

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’);


Get Premium JavaScript-Developer-I Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.