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 trialWesley Handshy
3,657 PointsBest Practice ...,
Wow, I have no idea what is is being ask to accomplish in this challenge!
1 Answer
Andrew McCormick
17,730 PointsWesley. Watch the video before that http://teamtreehouse.com/library/javascript-foundations/variables/hoisting from about the 5 minute to 6minute mark. There, Jim describes what is the best way to declare variables in a function in light of Javascript's hoisting.
In the challenge, it is asking you to rearrange the variable declaration to fit withing what is best practices for declaring variables.