Free CRT-600 Exam Braindumps
Prepare for your JavaScript Developer I Certification Exam Questions 106–110 (page: 23)

Updated On: 10-Feb-2026

Refer to following code:
class Vehicle {
constructor(plate) {
This.plate =plate;
}
}
Class Truck extends Vehicle {
constructor(plate, weight) {
//Missing code
This.weight = weight;
}
displayWeight() {
console.log(`The truck ${this.plate} has a weight of ${this.weight} lb.');}} Let myTruck = new Truck(`123AB', 5000);
myTruck.displayWeight();
Which statement should be added to line 09 for the code to display `The truck 123AB has a weight of 5000lb.'?

  1. Super.plate =plate;
  2. super(plate);
  3. This.plate =plate;
  4. Vehicle.plate = plate;

Answer(s): B



Which option is a core Node,js module?

  1. Path
  2. Ios
  3. Memory
  4. locate

Answer(s): A



Refer to the code snippet below:
Let array = [1, 2, 3, 4, 4, 5, 4, 4];
For (let i =0; i < array.length; i++){
if (array[i] === 4) {
array.splice(i, 1);
}
}
What is the value of the array after the code executes?

  1. [1, 2, 3, 4, 5, 4, 4]
  2. [1, 2, 3, 4, 4, 5, 4]
  3. [1, 2, 3, 4, 5, 4]
  4. [1, 2, 3, 5]

Answer(s): C



Which option is true about the strict mode in imported modules?

  1. Add the statement use non-strict, before any other statements in the module to enable not-strict mode.
  2. You can only reference notStrict() functions from the imported module.
  3. Imported modules are in strict mode whether you declare them as such or not.
  4. Add the statement use strict =false; before any other statements in the module to enable not- strict mode.

Answer(s): B



Teams at Universal Containers (UC) work on multiple JavaScript projects at the same time. UC is thinking about reusability and how each team can benefit from the work of others. Going open-source or public is not an option at this time.
Which option is available to UC with npm?

  1. Private packages can be scored, and scopes can be associated to a private registries.
  2. Private registries are not supported by npm, but packages can be installed via URL.
  3. Private packages are not supported, but they can use another package manager like yarn.
  4. Private registries are not supported by npm, but packages can be installed via git.

Answer(s): A



Viewing page 23 of 46
Viewing questions 111 - 115 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!