The dos and don'ts of Promises
Last week I came across an old nodejs project. It was the first project in which I had ever used promises and I made every mistake one can make. Luckily I'm a lot wiser now, so I decided to write this post to share a few tips on how to properly use promises.
new keyword. Also sometimes it can be quite handy not to have to type the
new keyword all the time.