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
23 days 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
Dean
3 days ago
User 1: Maybe she should try option C?
upvoted 0 times
...
...
Arthur
26 days 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
Frank
19 days ago
I think she should try option C) and change the this keyword to the object keyword.
upvoted 0 times
...
...
Benton
1 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
Jesusita
2 days ago
User1: I think the answer is A. Removing the 'this' keyword should work.
upvoted 0 times
...
...
Remedios
1 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
1 days ago
Let's go with option C then. It seems like the best choice.
upvoted 0 times
...
Karol
3 days ago
I don't think that's necessary. Changing 'this' to 'object' seems like the most straightforward solution.
upvoted 0 times
...
Ronna
13 days ago
But what about adding the parameters username, password, and email to the function definition?
upvoted 0 times
...
Gretchen
28 days ago
I think you're right. Changing 'this' to 'object' should do the trick.
upvoted 0 times
...
...
Marvel
2 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
24 days ago
C) She must change the this keyword to the object keyword on the left side of the assignment variables
upvoted 0 times
...
Janessa
30 days ago
A) She must remove the this keyword from the left side of the assignment variables
upvoted 0 times
...
...
Leigha
2 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
2 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
2 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