const is the new var
Should you still use “var”? Should we just replace it with “let”? What about “const” anyway? In this post, we’ll explain why “const” should be your go-to declarative keyword.
You’re looking for good practices, tech novelties that we like or how to use efficiently some tools? You’re at the right place!
You can’t find the subject you’re looking for? Let us know, we’ll be happy to help!
(Also if you read French, we have a lot more content.)
Should you still use “var”? Should we just replace it with “let”? What about “const” anyway? In this post, we’ll explain why “const” should be your go-to declarative keyword.
JavaScript doesn’t have keyword parameters? No worries! Named destructuring offers a way out… but beware of edge cases.
Emojis are everywhere, but it’s hard to identify, extract and collect them from a string. They’re on the rise and always use surrogate pairs… How can we be quick and clean about this?
Sorting complex data arrays in JS is often Mission Impossible… yet native capabilities are amazing!
Tired of having to manually count the digits to get the scale of a number? Annoyed by having to manually split to isolate its components? Numeric separators are finally here!
Need to clean up an array? We’ve got a lot of solutions, and some are… super concise!
If you’re still going through a temporary variable to invert two others, You’re Doing It Wrong™
Sometimes the best way to short-circuit nested loops is statement labels!
Everything you should know to correctly process advanced Unicode codepoints in JavaScript strings.
Do you *really* know Array#splice, the Swiss-army knife of JavaScript array tweaking?
Fine-tuning number formating with JS? Easy as pie!
Splitting strings in JS? Thow away substring and forget substr! Your salvation lies with slice!