Free CRT-600 Exam Braindumps
Prepare for your JavaScript Developer I Certification Exam Questions 111–115 (page: 24)

Updated On: 10-Feb-2026

Refer to code below:
Let first = `who';
Let second = `what';
Try{
Try{
Throw new error(`Sad trombone');
}catch (err){
First ='Why';
}finally {
Second ='when';
} catch (err) {
Second ='Where';
}
What are the values for first and second once the code executes ?

  1. First is Who and second is When
  2. First is why and second is where
  3. First is who and second is where
  4. First is why and second is when

Answer(s): D



Which javascript methods can be used to serialize an object into a string and deserialize a JSON string into an object, respectively?

  1. JSON.stringify and JSON.parse
  2. JSON.serialize and JSON.deserialize
  3. JSON.encode and JSON.decode
  4. JSON.parse and JSON.deserialize

Answer(s): A



Refer to following code block:
Let array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,];
Let output =0;
For (let num of array){
if (output >0){
Break;
}
if(num % 2 == 0){
Continue;
}
Output +=num;
What is the value of output after the code executes?

  1. 16
  2. 36
  3. 11
  4. 25

Answer(s): A



Refer to the code below:
<html lang="en">
<table onclick="console.log(Table log');">
<tr id="row1">
<td>Click me!</td>
</tr>
<table>
<script>
function printMessage(event) {

console.log(`Row log');
}
Let elem = document.getElementById(`row1');
elem.addEventListener(`click', printMessage, false);
</script>
</html>
Which code change should be made for the console to log only Row log when `Click me! ' is clicked?

  1. Add.event.stopPropagation(); to window.onLoad event handler.
  2. Add event.stopPropagation(); to printMessage function.
  3. Add event.removeEventListener(); to window.onLoad event handler.
  4. Add event.removeEventListener(); toprintMessage function.

Answer(s): B



Refer to code below:
Let a ='a';
Let b;
// b = a;
console.log(b);
What is displayed when the code executes?

  1. ReferenceError: b is not defined
  2. A
  3. Undefined
  4. Null

Answer(s): C



Viewing page 24 of 46
Viewing questions 116 - 120 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!