5/30


#1

Can someone provide me a codes of 5/33 ? i didn't get the intruction clearly


#2

Hi,

what you are doing is setting the variable aProperty to "job" then printing James job using the brackets formula listed in the example, so it should look like this -

var aProperty = "job";

console.log(james[aProperty]);

Thanks

Keith


#3

Those are exactly my codes! but i was wrong in putting the ) and ]


#4

This code works only in Mozilla Firefox . :neutral_face:


#5
This code works only in Mozilla Firefox . :neutral_face:

I use Google Chrome. Is this why the following code doesn't work for me?

var james = {
job: "programmer",
married: false
};

var aProperty = "job";

console.log(james[aProperty]);


#6

I literally have that same code. Try refreshing the page and submitting. It worked for me.


#7

work for me in chrome also


#8

Thanks for code :smile:


#9

Try to disable Adblock.


#10

It totally correct in my case. I did refresh the Chrome browser and it runs well


#11

I tried in Google Chrome. Now it's working fine. I think they fixed the issue.


#12

Disabling AdBlock worked for me in Chrome. +1 @returntrip