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 Loops, Arrays and Objects Tracking Data Using Objects Using const with Arrays and Objects

I am highly confused on the var, let, and cosnt differences. I wish teamtreehouse would update all the JS courses

please see title

2 Answers

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Hi Paul Messmer - we're working on doing exactly that!

We recently updated the "JavaScript Basics" content. Have a look at JavaScript Basics, JavaScript Numbers, and JavaScript Functions. Each course addresses the important differences between var, let, and const.

Also, the course "JavaScript Loops, Arrays, and Objects" is about to be refreshed. You can view the upcoming courses on our roadmap.

Hope this helps. :)

Thank you so much Guil Hernandez! I really like learning from you! You have impacted so many people through these videos. How does it feel to know that you have helps countless people learn code and follow what they enjoy?

Guil does that mean that we will have our progress reset for the modules we have already completed? TY

Aaron Kohn
seal-mask
.a{fill-rule:evenodd;}techdegree
Aaron Kohn
Front End Web Development Techdegree Student 6,449 Points

Guil Hernandez while you're at it I'd like to give some input as well. I'm rather experienced in JavaScript but still found a confusing part in the "JavaScript Loops, Arrays and Objects" course. In the Using for in to Loop Through an Object's Properties video the for in loop used none of the declarations but just stated for (prop in someArray). In the following code challenge, using that same notation resulted in an don't use global variable declarations error as leaving out the declaration seems to default to var.

Other than that the course is just fine, but this part should be adjusted.

I agree with Aaron Kohn! It was very confusing... :(