Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

On the following object, foo = {"bar": 10}, which of the following are valid ways to return the value 10?

are you serious none of multiply chose is correct which one is correct? I think its a bug I must have report teamtreehouse

What course and stage is this quiz a part of? Can you provide a link to the quiz?

3 Answers

The answer is one of the answers that contains two options. There are only two valid ways to reference the value 10 from the object foo: dot notation and bracket notation. Hint: bracket notation requires references be put into a string, either single or double quotes.

the course is d3.js the stage is 2

sorry , I did not see the F letters to choice my bad. please forgive me.

Haha no need to forgive anything! It happens man. Happy Coding!