Free Salesforce Javascript-Developer-I Exam Questions

Try our Free Demo Practice Tests for Comprehensive Javascript-Developer-I Exam Preparation

  • Salesforce Javascript-Developer-I Exam Questions
  • Provided By: Salesforce
  • Exam: Salesforce Certified JavaScript Developer I (SP24)
  • Certification: Javascript Developer
  • Total Questions: 217
  • Updated On: Sep 25, 2024
  • Rated: 4.9 |
  • Online Users: 434
Page No. 1 of 44
Add To Cart
  • Question 1
    • Refer to the following code:
      class Vehicle{
      constructor(plate){
      this.plate = plate;
      }
      }
      class Truck extends Vehicle{
      constructor(plate, weight){
      //Missing code
      this.weight = weight;
      }
      displayWeight(){
      console.log(`The truck ${this.plate} has a weight of ${this.weight}lb.`);
      }
      }let myTruck = new Truck('123Ab',5000);
      myTruck.displayWeight();
      Which statement should be added to missing code for the code to display 'The truck 123AB has a
      weight of 5000lb.

      Answer: A
  • Question 2
    • Refer to the expression below:
      Let x = ('1' + 2) == (6 * 2);
      How should this expression be modified to ensure that evaluates to false?

      Answer: B
  • Question 3
    • A developer has a web server running with Node.js. The command to start the web server is node server.js. The web server started having
      latency issues. Instead of a one second turnaround for web requests, the developer now sees a five second turnaround.
      Which command can the web developer run to see what the module is doing during the latency period?

      Answer: D
  • Question 4
    • Refer to HTML below:
      The current status of an Order: <span id =''status''> In Progress </span>
      Which JavaScript statement changes the text 'In Progress' to 'Completed' ?

      Answer: C
  • Question 5
    • Given two expressions var1 and var2. What are two valid ways to return the logical AND
      of the two expressions and ensure it is data type Boolean ?
      Choose 2 answers:

      Answer: A,D
PAGE: 1 - 44
Add To Cart

© Copyrights Dumpscity 2024. All Rights Reserved

We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the Dumpscity.