CertsPoint
See all results for ""
Exams About Us
Sign In Get Started
Exam Overview
Exam Code CRT-600
Exam Name Certification Preparation for Salesforce JavaScript Developer I
Vendor Salesforce
Total Questions 234
Last Updated 26-Oct, 2026
Why CertsPoint?
  • Latest & Verified Questions
  • Detailed Explanations
  • Regular Updates
  • Full-Length Practice Tests
  • Boost Your Exam Confidence

PDF Study Materials

Downloadable guides and resources

Practice Tests

Full-length tests with real exam experience

Progress Tracking

Monitor your performance and improvement

Study Anywhere

Access on desktop, tablet, and mobile

Excellent
4.6 (398 Up Votes)
Secure Payment Privacy Protected Money Back Guarantee

Free CRT-600 Practice Questions

Explore 5 free practice questions for the Salesforce CRT-600 exam and review the answers and explanations to support your preparation.

  1. Question 1

    Single answer

    Refer to the code below: for(let number =2 ; number <= 5 ; number += 1 ) { // insert code statement here } The developer needs to insert a code statement in the location shown. The code statement has these requirements: 1. Does require an import 2. Logs an error when the boolean statement evaluates to false 3. Works in both the browser and Node.js Which meet the requirements?

    • Option A:
      assert (number % 2 === 0);
      Correct
    • Option B:
      console.error(number % 2 === 0);
      Correct
    • Option C:
      console.debug(number % 2 === 0);
      Correct
    • Option D:
      console.assert(number % 2 === 0);
      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: B

  2. Question 2

    Single answer

    Refer to the code below: 01 let car1 = new promise((_, reject) => 02 setTimeout(reject, 2000, “Car 1 crashed in”)); 03 let car2 = new Promise(resolve => setTimeout(resolve, 1500, “Car 2 completed”)); 04 let car3 = new Promise(resolve => setTimeout (resolve, 3000, “Car 3 Completed”)); 05 Promise.race([car1, car2, car3]) 06 .then(value => ( 07 let result = $(value) the race. `; 08 )) 09 .catch( arr => ( 10 console.log(“Race is cancelled.”, err); 11 )); What is the value of result when Promise.race executes?

    • Option A:
      Car 3 completed the race.
      Correct
    • Option B:
      Car 1 crashed in the race.
      Correct
    • Option C:
      Car 2 completed the race.
      Correct
    • Option D:
      Race is cancelled.
      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: C

  3. Question 3

    Single answer

    Which statement phrases successfully?

    • Option A:
      JSON.parse ( ‘ foo ’ );
      Correct
    • Option B:
       JSON.parse ( “ foo ” );
      Correct
    • Option C:
      JSON.parse( “ ‘ foo ’ ” );
      Correct
    • Option D:
      JSON.parse(‘ “ foo ” ’);
      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: D

  4. Question 4

    Multiple answers

    A developer needs to test this function: 01 const sum3 = (arr) => ( 02 if (!arr.length) return 0, 03 if (arr.length === 1) return arr[0], 04 if (arr.length === 2) return arr[0] + arr[1], 05 return arr[0] + arr[1] + arr[2], 06 ); Which two assert statements are valid tests for the function? Choose 2 answers

    • Option A:
      console.assert(sum3(1, ‘2’)) == 12);
      Correct
    • Option B:
      console.assert(sum3(0)) == 0);
      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: A

  5. Question 5

    Multiple answers

    Refer to the code below: 01 const exec = (item, delay) =>{ 02 new Promise(resolve => setTimeout( () => resolve(item), delay)), 03 async function runParallel() { 04 Const (result1, result2, result3) = await Promise.all{ 05 [exec (‘x’, ‘100’) , exec(‘y’, 500), exec(‘z’, ‘100’)] 06 );07 return ̀ `parallel is done: $(result1) $(result2)$(result3)`; 08 }}} Which two statements correctly execute the runParallel () function? Choose 2 answers

    • Option A:
      Async runParallel () .then(data);
      Correct
    • Option B:
      runParallel ( ). done(function(data){ return data;});
      Correct
    • Option C:
      runParallel () .then(data);
      Correct
    • Option D:
      runParallel () .then(function(data) return data
      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: B, D