Honestly you did an excellent job of proving why LET, CONST and the painfully cryptic arrow function trash do nothing but make JavaScript HARDER.

It's like shoe-horning in bad ideas from other programming languages where they don't fit.

But again, a lot of the confusion about what a "closure" is would probably not happen if the CORRECT word... ENclosure.

Since "closures" do not END anything. They are not the close. They WRAP things...

It's the wrong huffing word!!!


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store