Spring Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Salesforce Certified JavaScript Developer JS-Dev-101

Last Update 12 hours ago Total Questions : 217

The Salesforce Certified JavaScript Developer JS-Dev-101 content is now fully updated, with all current exam questions added 12 hours ago. Deciding to include JavaScript-Developer-I practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our JavaScript-Developer-I exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these JavaScript-Developer-I sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Salesforce Certified JavaScript Developer JS-Dev-101 practice test comfortably within the allotted time.

Question # 4

Refer to the code:

Given the code above, which three properties are set for pet1? Choose 3 answers

A.

name

B.

owner

C.

type

D.

canTalk

E.

size

Question # 5

Given the HTML below:

Which statement adds the priority-account css class to the Applied Shipping row?

A.

document.querySelector( ' #row-as ' ).classList.add( ' priority-account ' );

Question # 6

Refer to the code below:

Const myFunction = arr = > {

Return arr.reduce((result, current) = > {

Return result = current;

}, 10};

}

What is the output of this function when called with an empty array ?

A.

Returns 0

B.

Throws an error

C.

Returns 10

D.

Returns NaN

Question # 7

Refer to the following code:

function test (val) {

If (val === undefined) {

return ‘Undefined values!’ ;

}

if (val === null) {

return ‘Null value! ’;

}

return val;

}

Let x;

test(x);

What is returned by the function call on line 13?

A.

Undefined

B.

Line 13 throws an error.

C.

‘Undefined values!’

D.

‘Null value!’

Question # 8

Refer to the code below:

let timeFunction =() = > {

console.log(‘Timer called.”);

};

let timerId = setTimeout (timedFunction, 1000);

Which statement allows a developer to cancel the scheduled timed function?

A.

removeTimeout(timedFunction);

B.

removeTimeout(timerId);

C.

clearTimeout(timerId);

D.

clearTimeout(timedFunction);

Question # 9

A developer has a web server running with Node.js. The command to start the web server is node server.js. The web server started having

latency issues. Instead of a one second turnaround for web requests, the developer now sees a five second turnaround.

Which command can the web developer run to see what the module is doing during the latency period?

A.

NODE_DEBUG=true node server.js

B.

DEBUG=http, https node server.js

C.

NODE_DEBUG=http,https node server.js

D.

DEBUG=true node server.js

Question # 10

Which option istrue about the strict mode in imported modules?

A.

Add the statement use non-strict, before any other statements in the module to enablenot-strict mode.

B.

You can only reference notStrict() functions from the imported module.

C.

Imported modules are in strict mode whether you declare them as such or not.

D.

Add the statement use strict =false; before any other statements in the module to enablenot- strict mode.

Go to page: