Coding with J.S.
Category – Programmer lifehacks
2 posts tagged with "Programmer lifehacks" (See all categories)

TThe hidden power of Promise.resolve()

2020-03-094 Min Read — In Programmer lifehacks

There are many reasons why I love promises. Truth to be told, I often prefer them to the more recent , more on that on another time, probably. Today, we will be looking at a small good pattern that I like with promises. Let's consider for a moment…

TThe only time I use var

2019-07-267 Min Read — In Programmer lifehacks

Var is obsolete First thing first. Of the three ways to declare a variable in JavaScript, has no place in your codebase, and most of the time that you are tempted to use , there's a better way to write it with . There are several articles on this…