Understand JavaScript forEach() Behavior with async/await
Learn why the forEach() function doesn’t “wait” code to execute when using it with async/await. Learn solutions for asynchronous code in JavaScript using loops
Learn why the forEach() function doesn’t “wait” code to execute when using it with async/await. Learn solutions for asynchronous code in JavaScript using loops
Many developers don’t know how AND (&&) and OR (||) logical operators work in JavaScript, such as not always returning a boolean. This article explains why.
Filtering a list of items in an array is a common process any JavaScript developer, whether they are new or experienced, will use at some point in their career.
Callbacks are functions in JavaScript that are passed as arguments to another function and are triggered or executed inside that other function.
Have you been using TypeScript for a while but you are not sure how the compilation works? In this article, we are going to go in deep about this works, what does it mean to compile a code as well as understanding why TypeScript needs to be compiled. How humans communicate with computers? As programmers, … Read more
Many developers have been using Node.js for years without knowing if it single-threaded or multi-threaded. We will explain which one is and why.
For those who have worked with JavaScript for a while, you will understand there are certain behaviors about the language that makes it seem it works in a certain way, when in reality it doesn’t, such as using == and === equals to check for equality between two different values. Against what many think, JavaScript … Read more
Whether you are coming from a different programming language like C# or you are a brand new programmer learning about JavaScript, you have probably seen different JavaScript codebases using in some cases double equals (==) and in other cases using triple equals (===). Although they seem similar at first, it is important to understand the … Read more
No matter what programming language you use, writing unit tests can be challenging. This is especially true for those who are not used to writing unit tests in their code. One of the most common problems developers face is whether they should or should not write unit tests to private methods. Hopefully, I can help … Read more
Software Development has evolved dramatically over the last 10+ years. Prior to the development of Frontend JavaScript frameworks, multiple projects relied on the backend, including its security. With more advances on the client-side, the level of responsibility has increased equally on both ends. However, is the JavaScript Client-Side Secure? In short, JavaScript client-side applications are … Read more