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 trialJesse Thompson
10,684 PointsIm wondering why we are still using var instead of const & let this late into this course? Is there a purpose for this?
I am just wondering because I thought at this point we should not be using var at all. I ask just because when it comes to employers Id imagine they ask the same thing.
1 Answer
Mike Hatch
14,940 PointsIt's due to the age of the course. Unfortunately, Treehouse doesn't provide time stamps when releasing courses. I quickly checked one of the older Questions and it was dated to June 2016. ES2015 courses didn't start to come out until just after this time period. Also, courses take time to create. Official release and production dates can be many months in between. Var
is far from dead, by the way. Kyle Simpson and many other top JS evangelists still use and recommend it.