Free Certified JavaScript Developer I Exam Braindumps (page: 1)

Page 1 of 20

A developer is wondering whether to use, promise, then or provise, catch especially when a promise throws an error.

Which two promises are rejected? Choose 2 answers

  1. Promise, rejected (Cool error here'), then (error => console (error ));
  2. New promise (() => (throw `Cool error here `)) , then ((null, error => console, (error)));
  3. New Promise((resolve, reject) => ( throw `Cool error here')) .catch (error => console (error ));
  4. Promise , reject (`Cool error here `) , catch (error => console ,error (error));

Answer(s): B,C



Refer to the code below:



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

  1. Retruns 0
  2. Throws an error
  3. Return 10
  4. Return NaN

Answer(s): C



Refer to the code below:



A developer uses a client that makes a GET request that uses a promise to handle the request, getRequest returns a promise.

Which code modification can the developer make to gracefully handle an error?

A)


B)


C)


D)

  1. Option A
  2. Option B
  3. Option C
  4. Option D

Answer(s): A



Refer to the following code that performs a basis mathematical operation on a provided input:



How should line o2 be written to ensure that x evaluated to 6 in the line below?

Let x calculate (`'g'');

  1. Return Number (num + 10) / 3;
  2. Return Number (num) + 10) / 3);
  3. Return integer (num + 10) / 3;
  4. Return Number (num + 10) / 3;

Answer(s): B



Page 1 of 20



Post your Comments and Discuss Salesforce Certified JavaScript Developer I exam with other Community members:

khalil commented on September 25, 2024
question number 5 is wrong, we serialize and deserialize json using strigify and parse please pay attention to the answers provided
Anonymous
upvote

Juwon commented on August 26, 2024
Great to be here
Anonymous
upvote

priyanka commented on April 13, 2024
I need valid dumps I am pretty sure this dumps are valid
Anonymous
upvote

Monica commented on February 19, 2024
Just bought the dumps. Hope it works out! I will post an update after my exam.
UNITED STATES
upvote

krishna commented on December 19, 2023
valied exam dumps. they were very helpful and i got a pretty good score. i am very grateful for this service and exam questions
Anonymous
upvote

krishna commented on December 19, 2023
Valied exam dumps. They were very helpful and I got a pretty good score. I am very grateful for this service and exam questions
Anonymous
upvote

George commented on May 30, 2023
Valied exam dumps. They were very helpful and I got a pretty good score. I am very grateful for this service and exam questions.
UNITED KINGDOM
upvote

NGIX-001 commented on October 11, 2021
Just made the purchase and downloaded the files. Quite an stream-lined process. Lets hope it can help me pass the exam this easy too.
NETHERLANDS
upvote