PrepAway - Latest Free Exam Questions & Answers

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

Consider the following declaration of a custom object:

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

PrepAway - Latest Free Exam Questions & Answers

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.

Explanation:

PrepAway - Latest Free Exam Questions & Answers

Leave a Reply