Properly defining optional named parameters
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.)
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!
Fine-tuning number formating with JS? Easy as pie!
Splitting strings in JS? Thow away substring and forget substr! Your salvation lies with slice!
Discover the best way to deduplicate an array since ES2015…