Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CIW 1D0-735 Exam - Topic 1 Question 77 Discussion

Posted by Dannie on Jan 23, 2025 at 03:57 PM

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?

Suggested Answer: A

Get Premium 1D0-735 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
37 comments · newest first
LO
Lonny 11 months ago
Not sure about that, sounds like a quick fix but could break other stuff.
CA
Carmen 11 months ago
Wait, changing the function keyword? That seems odd.
CA
Caprice 11 months ago
Removing the this keyword sounds right too.
CA
Casie 12 months ago
Totally agree with that!
GA
Galen 12 months ago
I think she should add the parameters to the function definition.
KE
Kent 12 months ago
I vaguely recall something about function definitions needing to match their parameters. Is it possible that she needs to add those parameters?
BE
Belen 1 year ago
I'm not entirely sure, but changing `this` to `object` sounds familiar. I think that could be a solution.
JE
Jestine 1 year ago
I feel like we practiced a question similar to this where parameters were missing. Adding `username`, `password`, and `email` might be the right move.
NA
Nancey 1 year ago
I think I remember that the `this` keyword can be tricky in certain contexts. Maybe removing it could help?
AN
Angelica 1 year ago
I'm a bit confused by the different keywords used here. I'll carefully consider each option and try to understand the underlying concepts.
GL
Glendora 1 year ago
The function definition seems a bit off. I'm leaning towards option B to add the parameters, but I'll need to confirm that's the right solution.
IL
Ilene 1 year ago
Okay, I think I've got it. The issue is with the variable assignments. I'll try option A and see if that fixes it.
LI
Lilli 1 year ago
Hmm, the use of "this" keyword is throwing me off a bit. I'll need to double-check how it's supposed to be used in object creation.
DA
Dante 1 year ago
This looks like a tricky one. I'll need to carefully review the code and options to figure out the right approach.
KA
Kaycee 1 year 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.
TO
Torie 1 year ago
↳ replying to Kaycee
User 3: I agree with Torie, adding the parameters could fix it.
MA
Malinda 1 year ago
↳ replying to Kaycee
User 2: I think option B might be the solution.
DE
Dean 1 year ago
↳ replying to Kaycee
User 1: Maybe she should try option C?
AR
Arthur 1 year 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.
BR
Brett 1 year ago
↳ replying to Arthur
I agree with you, option B) seems like the correct choice. She should add those parameters to the function definition.
MI
Mitsue 1 year ago
↳ replying to Arthur
No, I believe she needs to add the parameters username, password, and email to the function definition. Option B) is the way to go.
FR
Frank 1 year ago
↳ replying to Arthur
I think she should try option C) and change the this keyword to the object keyword.
BE
Benton 1 year 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?
BE
Beth 1 year ago
↳ replying to Benton
User3: I agree with User2, option C seems like the right choice here.
ER
Ernest 1 year ago
↳ replying to Benton
User2: No, I believe the correct answer is C. Changing 'this' to 'object' is the solution.
JE
Jesusita 1 year ago
↳ replying to Benton
User1: I think the answer is A. Removing the 'this' keyword should work.
RE
Remedios 2 years 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.
CO
Coral 1 year ago
↳ replying to Remedios
Let's go with option C then. It seems like the best choice.
KA
Karol 1 year ago
↳ replying to Remedios
I don't think that's necessary. Changing 'this' to 'object' seems like the most straightforward solution.
RO
Ronna 1 year ago
↳ replying to Remedios
But what about adding the parameters username, password, and email to the function definition?
GR
Gretchen 1 year ago
↳ replying to Remedios
I think you're right. Changing 'this' to 'object' should do the trick.
MA
Marvel 2 years 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.
BE
Belen 1 year ago
↳ replying to Marvel
C) She must change the this keyword to the object keyword on the left side of the assignment variables
JA
Janessa 1 year ago
↳ replying to Marvel
A) She must remove the this keyword from the left side of the assignment variables
LE
Leigha 2 years 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.
DE
Delmy 2 years ago
I disagree, I believe the correct answer is B) She must add the parameters username, password, and email to the function definition.
AD
Adolph 2 years 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.
0/2000 characters

Save Cancel