Free CRT-600 Exam Braindumps
Prepare for your JavaScript Developer I Certification Exam Questions 46–50 (page: 11)

Updated On: 10-Feb-2026

Given the code below:
const delay = sync delay => {
Return new Promise((resolve, reject) => {
setTimeout (resolve, delay);});};
const callDelay =async () =>{
const yup =await delay(1000);
console.log(1);
What is logged to the console?

  1. 1 2 3
  2. 1 3 2
  3. 2 1 3
  4. 2 3 1

Answer(s): D



Refer to the following code:
Let obj ={
Foo: 1,
Bar: 2
}
Let output =[],
for(let something in obj{
output.push(something);
}
console.log(output);

What is the output line 11?

  1. [1,2]
  2. ["bar","foo"]
  3. ["foo","bar"]
  4. ["foo:1","bar:2"]

Answer(s): C



Refer to the code below?
Let searchString = ` look for this ';
Which two options remove the whitespace from the beginning of searchString? Choose 2 answers

  1. searchString.trimEnd();
  2. searchString.trimStart();
  3. trimStart(searchString);
  4. searchString.replace(/*\s\s*/, `');

Answer(s): B,D



Which three actions can be using the JavaScript browser console? Choose 3 answers:

  1. View and change DOM the page.
  2. Display a report showing the performance of a page.
  3. Run code that is not related to page.
  4. view , change, and debug the JavaScript code of the page.
  5. View and change security cookies.

Answer(s): A,C,D



In which situation should a developer include a try .. catch block around their function call ?

  1. The function has an error that should not be silenced.
  2. The function results in an out of memory issue.
  3. The function might raise a runtime error that needs to be handled.
  4. The function contains scheduled code.

Answer(s): C



Viewing page 11 of 46
Viewing questions 51 - 55 out of 224 questions


Post your Comments and Discuss Salesforce CRT-600 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!