<

Salesforce JavaScript Developer I Training Questions

Are you preparing your Salesforce JavaScript Developer I exam? We just released the latest Salesforce JavaScript Developer I training questions, which are valuable for you to prepare the test. The Salesforce Certified JavaScript Developer I is intended for individuals who have knowledge, skills, and experience developing front-end and/or back-end JavaScript applications for the web stack.

 

Salesforce JavaScript Developer I Training Questions

 

Salesforce JavaScript Developer I Exam


Content: 60 multiple-choice/multiple-select questions
Time allotted to complete the exam: 105 minutes
Passing score: 65%
Registration fee: USD 200
Reschedule fee: USD 100

JavaScript Developer I Exam Outline


Salesforce JavaScript Developer I exam outline cover the following details. 
Variables, Types, and Collections 23%
Objects, Functions, and Classes 25%
Browser and Events 17%
Debugging and Error Handling 7%
Asynchronous Programming 13%
Server Side JavaScript 8%
Testing 7%

Study JavaScript Developer I Training Questions


Salesforce JavaScript Developer I training questions can help you test the above outline. Share some JavaScript Developer I training questions and answers below. 
1.Teams at Universal Containers (UC) work on multiple JavaScript projects at the same time. UC is thinking about reusability and how each team can benefit from the work of others. Going open-source or public is not an option at this time. Which option is available to UC with npm?
A. Private packages are not supported, but they can use another package manager like yarn.
B. Private registries are not supported by npm, but packages can be installed via URL.
C. Private packages can be scored, and scopes can be associated to a private registries.
D. Private registries are not supported by npm, but packages can be installed via git.
Answer: C

2.A developer wants to set up a secure web server with Node.js. The developer creates a directory locally called app-server, and the first file is app-server/index.js Without using any thirdparty libraries, what should the developer add to index.js to create the secure web server?
A. const tls = require('tls');
B. const https =require('https');
C. const server =require('secure-server');
D. const http =require('http');
Answer: B

3.developer publishes a new version of a package with new features that do not break backward compatibility. The previous version number was 1.1.3. Following semantic versioning format, what should the new package version number be?
A. 2.0.0
B. 1.2.0
C. 1.2.3
D. 1.1.4
Answer: B

4.Which statement accurately describes the behaviour of the async/ await keyworks ?
A. The associated class contains some asynchronous functions.
B. The associated sometimes returns a promise.
C. The associated function can only be called via asynchronous methods
D. The associated function will always return a promise
Answer: D

5.A developer is wondering whether to use, Promise.then or Promise.catch, especially when a Promise throws an error? Which two promises are rejected? Which 2 are correct?
A. New Promise(() => (throw 'cool error here'}).then(null, error => console.error(error)));
B. New Promise((resolve, reject) => (throw 'cool error here'}).catch(error => console.error(error)) ;
C. Promise.reject('cool error here').then(error => console.error(error));
D. Promise.reject('cool error here').catch(error => console.error(error));
Answer: B,D