#typescript
Read more stories on Hashnode
Articles with this tag
How to measure with greater precision · Measuring execution times of code paths is an essential and fundamental requirement to decide whether code needs...
Freezing Your Arrays · Immutability is a core concept of functional programming. However, most data structures in standard libraries violate this...
Freezing Any Object · JavaScript's objects are mutable by default. If you don't take any action, anyone can mutate the state of objects you create. const...
How to efficiently make use of first-class functions and the Boolean constructor function · Working with arrays in a functional way has mostly become the...
How to mark arguments as required without bloating your function body · Have you ever written code like this? const myFunction = (argument) => { if...
How to effectively filter out duplicates · The array is still one if not the major data structure in JavaScript. Especially given the fact that Set and...