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

Page 8 of 57

A developer creates an object where its properties should be immutable and prevent properties from being added or modified.
Which method should be used to execute this businessrequirement ?

  1. Object.const()
  2. Object.eval()
  3. Object.lock()
  4. Object.freeze()

Answer(s): D



A developer has an ErrorHandler module that contains multiple functions.
What kind of export be leverages so that multiple functions can beused?

  1. Named
  2. All
  3. Multi
  4. Default

Answer(s): A



A team that works on a big project uses npm to deal with projects dependencies. A developer added a dependency does not get downloaded when they execute npm install.
Which two reasons could be possible explanations for this? Choose 2 answers

  1. The developer missed the option --add when adding the dependency.
  2. The developer added the dependency as a dev dependency, andNODE_ENVIs set to production.
  3. The developer missed the option --save when adding the dependency.
  4. The developer added the dependency as a dev dependency, andNODE_ENV is set to production.

Answer(s): B,C,D



A developer is asked to fix some bugs reported by users. To do that, the developer adds abreakpoint for debugging.
Function Car (maxSpeed, color){
This.maxspeed =masSpeed;
This.color = color;
Let carSpeed = document.getElementById(` CarSpeed');
Debugger;
Let fourWheels =new Car (carSpeed.value, `red');

When the code execution stops at the breakpoint on line 06, which two types of information are available in the browser console ?
Choose 2 answers:

  1. The values of the carSpeed and fourWheels variables
  2. A variable displaying the number of instances created for the Car Object.
  3. The style, event listeners and other attributes applied to the carSpeed DOM element
  4. The information stored in the window.localStorage property

Answer(s): C,D






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

Exam Discussions & Posts