Exit 1D0-635 CIW JavaScript Specialist
Question 5 of 5
0% complete
Q5 Single choice

Consider the following declaration of a custom object:

What needs to be changed to allow this script to run without error?

  • A

    You must remove the car_prefix on the parameters.

  • B

    You must change the declaration syntax to object carObj.

  • C

    You must add the this keyword to the variables on the left side of the assignments.

  • D

    You must add the keyword var to each line inside the function.