New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

Salesforce Developer JavaScript-Developer-I Full Course Free

Page: 8 / 8
Question 32

A developer is debugging a web server that uses Node.js The server hits a runtimeerror

every third request to an important endpoint on the web server.

The developer added a break point to the start script, that is at index.js at he root of the

server’s source code. The developer wants to make use of chrome DevTools to debug.

Which command can be run to access DevTools and make sure the breakdown is hit ?

Options:

A.

node -i index.js

B.

Node --inspect-brk index.js

C.

Node inspect index.js

D.

Node --inspect index.js

Question 33

A developer creates a generic function to log custom messages in the console. To do this,

the function below is implemented.

01 function logStatus(status){

02 console./*Answer goes here*/{‘Item status is: %s’, status};

03 }

Which three console logging methods allow the use of string substitution in line 02?

Options:

A.

Assert

B.

Log

C.

Message

D.

Info

E.

Error

Page: 8 / 8
Exam Name: Salesforce Certified JavaScript Developer I (SU24)
Last Update: Dec 22, 2024
Questions: 215
JavaScript-Developer-I pdf

JavaScript-Developer-I PDF

$25.5  $84.99
JavaScript-Developer-I Engine

JavaScript-Developer-I Testing Engine

$28.5  $94.99
JavaScript-Developer-I PDF + Engine

JavaScript-Developer-I PDF + Testing Engine

$40.5  $134.99