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
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.
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.
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.