Challenge Accessing Objects Properties with Variables has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
// Setup
var testObj = {
12: "Namath",
16: "Montana",
19: "Unitas"
};
// Only change code below this line;
testObj[playerNumber]; // Change this Line
var player = testObj[16]; // Change this Line
Editor give syntax error on line 11 (testObj[playerNumber]; ) but FCC says the answer is correct. This isn't fair to people who are just learning.
Your code doesn't pass the challenge. In this case, your playerNumber variable isn't even defined. If you need help, please go to our main room. GitHub is for issues only. Happy Coding :smile:
Akira
The code I gave you is the code I passed with. If I passed with wrong code
then there is your issue. I don't need your damn help. I need the issue
fixed.
On Tue, May 10, 2016 at 9:57 PM, Akira Laine [email protected]
wrote:
Your code doesn't pass the challenge. In this case, your playerNumber
variable isn't even defined. If you need help, please go to our main
https://gitter.im/FreeCodeCamp/FreeCodeCamp room. GitHub is for issues
only. Happy Coding [image: :smile:]—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/8557#issuecomment-218342157
@alkapwn3d Could you attach a screenshot of passing the challenge? Also, what browser and OS are you using?
@alkapwn3d Thanks . With "All Due Respect" this is not reproducible.

P.S :
Here is a code of conduct, I am sure you could use it.
Good luck!