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
Bogdan Petrar
4,341 PointsObject-Oriented JavaScript By Example (last question about switchPlayer)
So I'm doing the "Object-Oriented JavaScript By Example" course. I'm right at the end.
This question pop's up: The switchPlayer() method updates the [__________] property of the Player object?
What is the answer? I'm thinking that it's updating the player.active but ... nope.
3 Answers
KRIS NIKOLAISEN
54,974 PointsTry just active instead of player.active
Bogdan Petrar
4,341 PointsI already tried that like 5 times. Of course that NOW it works.
archiebolt makumbi
7,073 Pointsactive