Javascript
33 articles
Is Currying in JavaScript Just A Chain of Functions?
In the world of functional programming, techniques that enhance code reusability and modularity are highly valued. One such technique that has found …
Javascript Loops: Simplify Choice between for...of and for...in loop
After years of web development, do you still find yourself mixing up for...in and for...of loops in JavaScript? If you’re tired of Googling …
The Pitfalls of Using Async/Await Inside forEach() Loops
When it comes to running asynchronous operations for each element in an array, the instinct is often to turn to .forEach() method; it’s the go-to tool …
What is finally method and finally block in Javascript?
The word finally in Javascript is used in two contexts mainly; finally method with Promises and finally {} block with try-catch.
People intermittently …
Avoid JavaScript Template Literals for Building URLs with Query Params
Template literals are literals delimited with backtick (`) characters, allowing for multi-line strings, string interpolation with embedded …
Best Practices for Production setup of Nodejs Application: Part II
This article is Part 2 of Best Practices for Production setup of Nodejs Application. The focus of this article is on sharing best practices for …