Imagine you’ve got three friends, each with a unique way of holding onto things. Let’s call them var, let, and const. They’re a little quirky, and each has their own rules.
Scene 1: var – The Forgetful Friend
Our friend var has been around for ages,...