Free Salesforce CRT-600 Exam Questions

Try our Free Demo Practice Tests for Comprehensive CRT-600 Exam Preparation

  • Salesforce CRT-600 Exam Questions
  • Provided By: Salesforce
  • Exam: Certification Preparation for Salesforce JavaScript Developer I (SP24)
  • Certification: Javascript Developer
  • Total Questions: 217
  • Updated On: Sep 27, 2024
  • Rated: 4.9 |
  • Online Users: 434
Page No. 1 of 44
Add To Cart
  • Question 1
    • Refer to the code below:
      Let car1 = new Promise((_ , reject) =>
      setTimeout(reject, 2000, ''car 1 crashed in'' =>
      Let car2 =new Promise(resolve => setTimeout(resolve, 1500, ''car 2 completed'')
      Let car3 =new Promise(resolve => setTimeout(resolve, 3000, ''car 3 completed'')
      Promise.race(( car1, car2, car3))
      .then (value => (
      Let result = '$(value) the race.';)}
      .catch(arr => {
      console.log(''Race is cancelled.'', err);
      });
      What is the value of result when Promise.race executes?

      Answer: B
  • Question 2
    • At Universal Containers, every team has its own way of copying JavaScript objects. The code snippet shows an Implementation from one team:
      1
      What is the output of the code execution?


      Answer: D
  • Question 3
    • Given the code below:
      11
      What is logged to the console'


      Answer: D
  • Question 4
    • A test has a dependency on database. query. During the test, the dependency is replaced with an object called database with the method,
      Calculator query, that returns an array. The developer does not need to verify how many times the method has been called.
      Which two test approaches describe the requirement?
      Choose 2 answers

      Answer: A,D
  • Question 5
    • Refer to code below:
      console.log(0);
      setTimeout(() => (
      console.log(1);
      });
      console.log(2);
      setTimeout(() => {
      console.log(3);
      ), 0);
      console.log(4);
      In which sequence will the numbers be logged?

      Answer: C
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.