Who's in Your Bracket?

Can anyone help me with this issue, it’s really beginning to annoy me? Here is the question;

'Take advantage of the ability to use variables with bracket notation.

In line 7, set aProperty to a string of the first property in james (ie. the job property).

Then print james’s job using bracket notation and aProperty.’

Here is what my screen keeps displaying;

Can I get some help?

What it is asking i think is for you to assign the array key with the value to the variable aProperty

var aProperty = james["job"];

Life saver, thanks!

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