Is let short for anything?

I was just curious, if var is short for variable and is the keyword for declaring any short of variable and const is short for constant and means the variable will be constant throughout the entire code, is let short for anything? And how would you define it? I guess I would define it as it let’s the variable be able to change as the code goes on, but I wanted to know what other people think and if the word is short for anything or it just is the word, “let”.

I think it means “allow” this variable to be…

Let this variable be 1

javascript - Linguistic meaning of 'let' variable in programming - Stack Overflow.

It comes from the mathematical convention of using the word “let” to define variables in proofs.

i.e. “let x be any non-negative integer”

3 Likes

Oh, neato, thanks for letting me know!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.