5. Who's in your bracket?


#1

I COULDN'T COMPLETE THE EXERCISE. PLEASE HELP!


5.Who's in Your Bracket?
#2

@shabha Hint: You have to set aProperty to the name of the first property, not the value of the first property :wink:


#3

@shabha
You're setting aProperty to the value, and not to the name.

In other words, since aProperty = james.job, then your line 12 is essentially saying:
console.log(james[james.job])

Solution:


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.