Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Javier Gandia
Javier Gandia
Full Stack JavaScript Techdegree Student 9,153 Points

I'm using visual studios..

when running this code on there. it returns both "true". why is that?

28,521 Points

You have not linked to the video or code that you are referencing, without seeing that it's impossible to answer your question.

Steven Parker
Steven Parker
216,057 Points

Both of what?

You might need to give a few more details, and show your code. Also provide a link to the course page (if this is course-related).