When talking about the difference between var and let keywords, one is that(memory allocation):
The var keyword will directly pre-allocate memory space in the stack m