ExamHelpDesk

Complete list of current Q & A>>

Salesforce Certified JavaScript Developer I (SP21) – Quiz

1 / 15

Category: Salesforce Certified JavaScript Developer I (SP21)

1. A developer has an ErrorHandler module that contains multiple
functions.
What kind of export should be leveraged so that multiple functions
can be used?

2 / 15

Category: Salesforce Certified JavaScript Developer I (SP21)

2. Which JavaScript methods can be used to serialize an object
into a string and deserialize a JSON string into an object,
respectively?

3 / 15

Category: Salesforce Certified JavaScript Developer I (SP21)

3. A developer is wondering whether to use, Promise.then or
Promise.catch, especially when a promise throws an error.
Which two promises are rejected? (Choose two.)

4 / 15

Category: Salesforce Certified JavaScript Developer I (SP21)

4. Refer to the HTML below:
<p> The current status of an Order: <span
id=”status”> In Progress </span> </p> Which
JavaScript statement changes the text `In
Progress’ to `Completed’?

5 / 15

Category: Salesforce Certified JavaScript Developer I (SP21)

5. Considering type coercion, what does the
following expression evaluate to? true + 3 +
`100′ + null

6 / 15

Category: Salesforce Certified JavaScript Developer I (SP21)

6. can have one level, two
levels, or more levels.
myArray,
Which statement flattens myArray when it can be arbitrarily nested?

7 / 15

Category: Salesforce Certified JavaScript Developer I (SP21)

7. Which two console logs output NaN? (Choose two.)

8 / 15

Category: Salesforce Certified JavaScript Developer I (SP21)

8. Which two options are core Node.js modules? (Choose two.)

9 / 15

Category: Salesforce Certified JavaScript Developer I (SP21)

9. Which statement accurately describes the
behavior of the keywords? async/await

10 / 15

Category: Salesforce Certified JavaScript Developer I (SP21)

10. A developer is debugging a web server that uses Node.js.
The server hits a runtime error 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 the 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
breakpoint is hit?

11 / 15

Category: Salesforce Certified JavaScript Developer I (SP21)

11. Refer to the string below:
const str = `Salesforce’;
Which two statements result in the word `Sales’? (Choose two.)

12 / 15

Category: Salesforce Certified JavaScript Developer I (SP21)

12. Which three actions can be done using the JavaScript browser
console?(Choose three.)

13 / 15

Category: Salesforce Certified JavaScript Developer I (SP21)

13. A test has a dependency on database.query. During the test,
the dependency is replaced with an object called database
with the method, query, that returns an array. The developer
needs to verify how many times the method was called and
the arguments used each time.
Which two test approaches describe the requirement? (Choose two.)

14 / 15

Category: Salesforce Certified JavaScript Developer I (SP21)

14. A developer is trying to convince management that their
team will benefit from using Node.js for a backend server
that they are going to create. The server will be a web server
that handles API requests from a website that the team has
already built using HTML, CSS, and JavaScript.
Which three benefits of Node.js can the developer use to persuade
their manager? (Choose three.)

15 / 15

Category: Salesforce Certified JavaScript Developer I (SP21)

15. Which three statements are true about promises? (Choose three.)

Your score is

0%

Scroll to Top