Ever got tired of how weird functions (and everything else) work weird in JavaScript? Well, get used to it, cuz we got a long way ahead, but stuff’s getting better, and the functions’ improvements are one of the things we can have a toast to.
Here’s a mind blowing piece of information: const
comes from “constant”. You’re welcome. Now let’s dive into more details on how to use it and it’s behaviours so that you don’t get fooled by thinking it should be used only to things that are immutable.
This is the first of a series of short posts on ES2015 (aka ES6). Starting from the basics, we’ll explore in a practical and objective manner how to use let
.
Last week, on September 24th, I launched my first open-source project and also my first jQuery plugin: prettyCheckable. In a nutshell, it replaces your radios and checkboxes for better looking ones with ease.