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 trialPaul Messmer
15,023 PointsI 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
Treehouse TeacherHi 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. :)
Alsaig Sandra
Front End Web Development Techdegree Graduate 15,434 PointsI agree with Aaron Kohn! It was very confusing... :(
Paul Messmer
15,023 PointsPaul Messmer
15,023 PointsThank 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
2,869 PointsVictor Warner
2,869 PointsGuil does that mean that we will have our progress reset for the modules we have already completed? TY
Ryan Markey
Front End Web Development Techdegree Student 12,565 PointsRyan Markey
Front End Web Development Techdegree Student 12,565 PointsWhen using 'const' & 'let' with objects/arrays, would it be better to use 'const' in this case?
Aaron Kohn
Front End Web Development Techdegree Student 6,449 PointsAaron Kohn
Front End Web Development Techdegree Student 6,449 PointsGuil 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 statedfor (prop in someArray)
. In the following code challenge, using that same notation resulted in andon't use global variable declarations
error as leaving out the declaration seems to default tovar
.Other than that the course is just fine, but this part should be adjusted.