Note: This post is work-in-progress learning-note and still in active development and updated regularly. JavaScript (JS) functions are the building blocks of the program, as they allow use perform an operation many times by calling name of code block without repetition. In the previous posts, we discussed Understanding JavaScript Functions – The Basics, Function Declaration […]
JavaScript Functions – Declaration and Expression
This post is work-in-progress learning-note and still in active development and updated regularly. In my another post, Understanding JavaScript Functions – The Basics, common ways of defining a function, their basic syntax and some examples were discussed. In this post, I will focus on difference between the function declaration & function expression with some examples. […]
Understanding JS Callback Functions
Note: This post is work-in-progress learning-note and still in active development and updated regularly. In Mozilla Development Network (MDN) callback function is defined as ‘a function passed into another function as an argument, which is then invoked inside the outer function to complete some kind of routine or action’. In JS callback functions are important […]
Understanding JavaScript Functions – The Basics
This post is work-in-progress learning-note and still in active development and updated regularly. A JS function is defined as reusable block of codes that are defined at one time and used later repeatedly whenever they are needed. This process avoids writing the same code repeatedly in different part of the program and code repetition. JS […]
