JavaScript: var, let, and const
A tutorial on the three ways to declare variables in JavaScript ES6+.
5 posts from September 2017
A tutorial on the three ways to declare variables in JavaScript ES6+.
Closures and scope are fundamental parts of JavaScript but often poorly explained and therefore the source of confusion to many developers. This is my take on explaining them to someone...
In JavaScript, the tilde ~ Bitwise NOT operator is commonly used right before an indexOf() to do a boolean check (truthy/falsy) on a string.
JavaScript features the odd but commonly used double negate operator !!, which is used to create a Boolean from a value.
An overview of the traditional var keyword for declaring variables in JavaScript.