JavaScript JavaScript Loops, Arrays and Objects Tracking Data Using Objects Using const with Arrays and Objects

Paul Messmer
Paul Messmer
12,115 Points

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
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
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. :)

Paul Messmer
Paul Messmer
12,115 Points

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?

Victor Warner
Victor Warner
1,518 Points

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.