Is everything in JavaScript an Object or Function?

I think everyone would agree JavaScript is the most misunderstood language. It's not just misunderstood by people who dislike it, but also by the people who likes it. I kind of understand the confusion since JavaScript has both Good and Bad Parts. This blog is about one such misunderstanding. Is everything in JavaScript objects? Yes! … Continue reading Is everything in JavaScript an Object or Function?

Higher order functions for Array in JavaScript

In JavaScript Higher Order Functions are functions which operates on other functions by either taking them as an argument or by returning it. Higher Order Functions basically provides an abstraction over action. Below are list of six higher order functions that I believe are most useful 1. Array.prototype.forEach Executes the provided callback for each items in the … Continue reading Higher order functions for Array in JavaScript