Variable used to be the norm in JavaScript, but now there are better players on the playing field: let and const. The main difference? Scope. See, scope is important in programming. In most cases, always using global variables isn't a great idea, but ther... (more…)
Read more »
The set object lets you store unique values of any type, whether primitive values or object references. (more…)
Read more »
A library to perfectly deep clone JavaScript values. - gactjs/clone... (more…)
Read more »
Destructuring is one of my favorite tools in JavaScript, in simple terms, destructuring allows you to break down a complex structure (like an array or an object) into simpler parts, though there’s a bit more to it than that. Let’s see it better in an exam... (more…)
Read more »
An edge case has convinced me it's the 'last' return that always wins… (more…)
Read more »