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

Javascript Question needs correcting

Yes or No work as valid options as well.

Have you tried using the console to test it? Like William said, each question is shuffled when you retry the quiz questions. Any clarity on your concern or question can assist us in helping you.

A JavaScript function can return several values at once. For example: function myFunction() { return 'Mon', 'Tues', 'Wed', 'Thurs', 'Fri'; } var days = myFunction();

Im sorry i should have been more clear.

The answers to that question are yes or no, however the question isn't a question. Its a statement so it cant be yes or no, it must be true or false. Its small and likely goes unnoticed but i noticed it because i didn't understand the question because of the answers so I thought i would post it in case the TreeHouse instructors wanted to change it based on feedback.

I am realizing now that the quizzes ask for feedback afterwards but I'm already committed so here it is!

2 Answers

It's false, you can't do that in JavaScript, if you really wanna return multiple values, you have to wrap them into an Array.

right, the answers are either yes or no

The quiz questions will always shuffled everytime you visit that link, so you may need to be more specify on which question you're referring to.