Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CIW Exam 1D0-735 Topic 1 Question 77 Discussion

Actual exam question for CIW's 1D0-735 exam
Question #: 77
Topic #: 1
[All 1D0-735 Questions]

Geraldine is creating a custom object to store user account data on her Web site. She has written the following code it is not working properly. What change should she make to enable the script to run correctly?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Kaycee
2 months ago
I bet Geraldine is wishing she had taken that Javascript class her coworker recommended. Looks like she's in for a long night of debugging.
upvoted 0 times
Torie
24 days ago
User 3: I agree with Torie, adding the parameters could fix it.
upvoted 0 times
...
Malinda
1 months ago
User 2: I think option B might be the solution.
upvoted 0 times
...
Dean
2 months ago
User 1: Maybe she should try option C?
upvoted 0 times
...
...
Arthur
2 months ago
Honestly, I have no idea. This question is making my head spin. Maybe Geraldine should just start over and use a pre-built user management system instead of trying to reinvent the wheel.
upvoted 0 times
Brett
1 months ago
I agree with you, option B) seems like the correct choice. She should add those parameters to the function definition.
upvoted 0 times
...
Mitsue
1 months ago
No, I believe she needs to add the parameters username, password, and email to the function definition. Option B) is the way to go.
upvoted 0 times
...
Frank
2 months ago
I think she should try option C) and change the this keyword to the object keyword.
upvoted 0 times
...
...
Benton
3 months ago
Hmm, I think the answer is A. Removing the 'this' keyword from the left side of the assignment variables should do the trick. Otherwise, how else would she assign the values?
upvoted 0 times
Beth
1 months ago
User3: I agree with User2, option C seems like the right choice here.
upvoted 0 times
...
Ernest
1 months ago
User2: No, I believe the correct answer is C. Changing 'this' to 'object' is the solution.
upvoted 0 times
...
Jesusita
2 months ago
User1: I think the answer is A. Removing the 'this' keyword should work.
upvoted 0 times
...
...
Remedios
3 months ago
I'm pretty sure the answer is C. Changing the 'this' keyword to 'object' will fix the issue. That's the only logical solution here.
upvoted 0 times
Coral
2 months ago
Let's go with option C then. It seems like the best choice.
upvoted 0 times
...
Karol
2 months ago
I don't think that's necessary. Changing 'this' to 'object' seems like the most straightforward solution.
upvoted 0 times
...
Ronna
2 months ago
But what about adding the parameters username, password, and email to the function definition?
upvoted 0 times
...
Gretchen
2 months ago
I think you're right. Changing 'this' to 'object' should do the trick.
upvoted 0 times
...
...
Marvel
3 months ago
The correct answer is B. She must add the parameters username, password, and email to the function definition. The script is trying to assign values to properties that don't exist in the function.
upvoted 0 times
Belen
2 months ago
C) She must change the this keyword to the object keyword on the left side of the assignment variables
upvoted 0 times
...
Janessa
3 months ago
A) She must remove the this keyword from the left side of the assignment variables
upvoted 0 times
...
...
Leigha
3 months ago
I think the answer is D) She must change the function keyword to the object keyword in the function definition. That makes more sense to me.
upvoted 0 times
...
Delmy
3 months ago
I disagree, I believe the correct answer is B) She must add the parameters username, password, and email to the function definition.
upvoted 0 times
...
Adolph
4 months ago
I think the correct answer is C) She must change the this keyword to the object keyword on the left side of the assignment variables.
upvoted 0 times
...

Save Cancel