Welcome to the Treehouse Community
Looking to learn something new?
Rouillie Wilkerson10,419 Points
Why var when let is currently being used?
We are being taught to start a variable with "var", when every other source is telling us to switch to "let"? Is there an updated course available?
Hey Rouillie Wilkerson,
That’s a great question! You are right, most of the videos you watch will use let or const. And there are definitely some differences between them. I believe the reason you’re seeing var in some of the videos is simply due to the age of the recording. That being said, what you’re learning is still applicable.