Salesforce certification practice

CRT-600 Practice Questions

Try 10 free CRT-600 exam-style questions for Prepare for your JavaScript Developer I. Check each answer and review the explanation and source references.

Exam code
CRT-600
Provider
Salesforce
Free questions
10
Full set
223 questions
Last update check

Here you can try our CRT-600 exam questions in our online practice test for absolutely free. We make these free CRT-600 sample questions available to everyone right here on this page, complete with detailed answer explanations. These CRT-600 practice questions will undoubtedly assist you in preparing for the actual exam. Optionally, you can get our premium files for extra help, alongside the huge number of exam questions we include in our CRT-600 question bank.

Refer to the code below: CRT-600 question Line 05 causes an error. What are the values of greeting and salutation once code completes?
Answer options
A developer has the function, shown below, that is called when a page loads. function onload() { console.log(“Page has loaded!”); } Where can the developer see the log statement after loading the page in the browser?
Answer options
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
Answer options
Refer to the code below: Const resolveAfterMilliseconds = (ms) => Promise.resolve ( setTimeout (( => console.log(ms), ms )); Const aPromise = await resolveAfterMilliseconds(500); Const bPromise = await resolveAfterMilliseconds(500); Await aPromise, wait bPromise; What is the result of running line 05?
Answer options
Refer to the code below: CRT-600 question What is the output of this function when called with an empty array?
Answer options
Given the following code: CRT-600 question What will be the first four numbers logged?
Answer options
There is a new requirement for a developer to implement a currPrice method that will return the current price of the item or sales.. CRT-600 question What is the output when executing the code above
Answer options
Refer the following code CRT-600 question what is the value of array after code executes?
Answer options
Refer to the following object. CRT-600 question How can a developer access the fullName property for dog?
Answer options
Refer to the following code block: class Animal{ constructor(name){ this.name = name; } makeSound(){ console.log(`${this.name} is making a sound.`) } } class Dog extends Animal{ constructor(name){ super(name) this.name = name; } makeSound(){ console.log(`${this.name} is barking.`) } } let myDog = new Dog('Puppy'); myDog.makeSound(); What is the console output?
Answer options
Question 1 of 10

Source context

How this practice set is maintained

Maintained by the CertMage content team, this page loads questions from the exam dataset connected to its preparation resource. When an answer includes a supporting reference, it is shown with that answer so you can review the underlying vendor documentation.

Certification objectives, interfaces, and vendor services can change. Verify important details against the provider's current exam guide and documentation before your exam.

Scroll to Top