@alcinnz There's a few exceptions for when to use var, or at least, that you have to keep in mind. That both const and let are block scoped and thus with certain programming paradigms in Javascript it can contain values you don't expect (or rather, variables not being usable).