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

JavaScript-Developer-I Exam Dumps - Salesforce Certified JavaScript Developer (JS-Dev-101)

Searching for workable clues to ace the Salesforce JavaScript-Developer-I Exam? You’re on the right place! ExamCert has realistic, trusted and authentic exam prep tools to help you achieve your desired credential. ExamCert’s JavaScript-Developer-I PDF Study Guide, Testing Engine and Exam Dumps follow a reliable exam preparation strategy, providing you the most relevant and updated study material that is crafted in an easy to learn format of questions and answers. ExamCert’s study tools aim at simplifying all complex and confusing concepts of the exam and introduce you to the real exam scenario and practice it with the help of its testing engine and real exam dumps

Go to page:
Question # 9

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?

A.

Assert

B.

Log

C.

Message

D.

Info

E.

Error

Full Access
Question # 10

Which two options are core Node.js modules?

Choose 2 answers

A.

worker

B.

isotream

C.

exception

D.

http

Full Access
Question # 11

What are two unique features of functions defined with a fat arrow as compared to normal function definition?

Choose 2 answers

A.

The function generated its own this making it useful for separating the function’s scope from its enclosing scope.

B.

The function receives an argument that is always in scope, called parentThis, which is the enclosing lexical scope. C. If the function has a single expression in the function body, the expression will be evaluated and implicit returned.

C.

The function uses the this from the enclosing scope.

Full Access
Question # 12

A developer implements a function that adds a few values.

Function sum(num) {

If (num == undefined) {

Num =0;

}

Return function( num2, num3){

If (num3 === undefined) {

Num3 =0 ;

}

Return num + num2 + num3;

}

}

Which three options can the developer invoke for this function to get a return value of 10 ?

Choose 3 answers

A.

Sum () (20)

B.

Sum (5, 5) ()

C.

sum() (5, 5)

D.

sum(5)(5)

E.

sum(10) ()

Full Access
Question # 13

A developer has an ErrorHandler module that contains multiple functions.

What kind of export be leverages so that multiple functions can be used?

A.

Named

B.

All

C.

Multi

D.

Default

Full Access
Question # 14

Refer to the following code:

What is the value of output on line 11?

A.

[1, 2]

B.

[‘’foo’’, ‘’bar’’]

C.

[‘’foo’’:1, ‘’bar’’:2’’]

D.

An error will occur due to the incorrect usage of the for…of statement on line 07.

Full Access
Question # 15

Which three statements are true about promises ?

Choose 3 answers

A.

The executor of a new Promise runs automatically.

B.

A Promise has a .then() method.

C.

A fulfilled or rejected promise will not change states .

D.

A settled promise can become resolved.

E.

A pending promise can become fulfilled, settled, or rejected.

Full Access
Question # 16

Which three actions can be using the JavaScript browser console?

Choose 3 answers:

A.

View and change DOM the page.

B.

Display a report showing the performance of a page.

C.

Run code that is not related to page.

D.

view , change, and debug the JavaScript code of the page.

E.

View and change security cookies.

Full Access
Go to page: