Salesforce JavaScript-Developer-I - Salesforce Certified JavaScript Developer (JS-Dev-101)
Total 219 questions
Refer to the code below:
01 const server = require(‘server’);
02 /* Insert code here */
A developer imports a library that creates a web server. Theimported library uses events and
callbacks to start the servers
Which code should be inserted at the line 03 to set up an event and start the web server ?
Which option istrue about the strict mode in imported modules?
Refer to the code below:
const event = new CustomEvent(
//Missing Code
);
obj.dispatchEvent(event);
A developer needs to dispatch a custom event called update to send information about
recordId.
Which two options could a developer insert at the placeholder in line 02 to achieve this?
Choose 2 answers
Which three browser specific APIs are available for developers to persist data between page loads ?
Choose 3 answers
Whichthree actions can be using the JavaScript browser console?
Choose 3 answers:
Which statement accurately describes the behaviour of the async/ await keyworks ?
A developer wants to create an object from a function in the browser using the code
below:
Function Monster() { this.name = ‘hello’ };
Const z = Monster();
What happens due to lackof the new keyword on line 02?
Which option is a core Node,js module?
After user acceptance testing, the developer is asked to change the webpage background based on user's location. This change was implemented and deployed for testing.
The tester reports that the background is not changing, however it works as required when viewing on the developer's computer.
Which two actions will help determine accurate results?
Choose 2 answers
bar, awesome is a popular JavaScript module. the versions publish to npm are:

Teams at Universal Containers use this module in a number of projects. A particular project has thepackage, json definition below.

A developer runs this command: npm install.
Which version of bar .awesome is installed?
