Just cracking myself up thinking about 20 years from now where at some startup the sole engineer (prompt engineer?) who has been trying for hours to figure out why their program doesn't work finally gives up and asks the model "what is the difference between 'let' and 'const'?" and getting a mostly verbatim stackoverflow answer back. A beautiful story to me.
What is the difference between `let` and `const`?
The difference between let and const is that once you bind a value/object to a variable using const, you can't reassign to that variable. In other words Example:
const something = {}; something = 1; // Error.
let somethingElse = {}; somethingElse = 100; // This is ok