Tagged: best-practices


Error handling in promises interview question

Let’s quickly revise some of the fundamentals of the promises, before we jump into the best practices and anti-patterns for error handling in JavaScript promises. What is a promise? It is an object which...


Why use javascript strict mode

If you ever wondered why it helps to have `use-strict’ at the top of your javascript files, I hope this post will give you enough reason to keep using it in your future code....