In todays newsletter we start with with some ways to handle asynchronous code in JavaScript, followed by some handy tips for using the console to debug. Finally we have a great article on how to use the reduce array method.
Quote of the Day
“Some of the best programming is done on paper, really. Putting it into the computer is just a minor detail.” - Max Kanat-Alexander
Todays Articles
Asynchronous Nature of JavaScript
By Megha Pathak
Asynchronous nature of JS is what makes dynamic web applications possible. A simple example of this is - When you're clicking all those slack emoji responses, they're not all being updated on your local machine on your computer, it's also all being sent over the internet, thousands of miles away coming back confirming and then somehow all happening simultaneously in a single threaded language.
JavaScript console API
By Darsh Shah
Are you someone who uses console.log to debug most of your code?🤔 If you said yes, you're in the right spot. By the end of this article, you would have heard about a variety of different console methods that you can use to make debugging the code a little simpler.
JavaScript reduce() method
We are checking out some useful array methods, and today we are looking at the reduce() method. The reduce method can be used to convert our array to one specific single value.