Home » Learn JavaScript
JavaScript Function Arguments
In JavaScript, we don’t have any method to check our parameters and arguments. Earlier tutorial, We have learned that functions can have parameters; such like – functionName(parameter1, parameter2, parameter3) { code to be executed } but suppose that…
Read More »JavaScript ES6 Arrow Functions
The arrow function is taken from CoffeeScript (a trans-compiled language). The arrow function is also called the “fat arrow” function.
Read More »JavaScript Callback Functions
A callback is an executable code that is passed as an argument to another function or code and executes after some time or certain condition. So that’s why we can also say call after function to a callback…
Read More »JavaScript Closures
It is an advanced concept of javascript. This is a really interesting concept in javascript. So basically it is a function inside a function which can access outer function properties. According to MDN “A closure is the combination…
Read More »JavaScript Promises
As we discussed callback is in the callback function section and a lot of time it is very useful in our daily life programming but when we scale our project a lot of callbacks can create readability issues…
Read More »JavaScript call, apply and bind
JavaScript has call, apply and bind methods. These are very powerful and useful methods.
Read More »JavaScript Function Overloading
Before understanding JavaScript function overloading we need to understand function overloading. Function overloading is an elegant concept of object-oriented programming language. According to this concept, we can create the same name function with different arguments. Let’s take an…
Read More »JavaScript Memoization
Memoization is the advanced concept of JavaScript language. To understand this concept we need to understand function and method very well. Functions and methods are the backbones of any programming language but in JavaScript, those play a very…
Read More »JavaScript Objects
An object is an excellent data structure in JavaScript. Why it’s awesome? Because it stores data as a key and value as a pair; apart from that every key is unique so we can store unique information inside…
Read More »JavaScript Arrays
The primitive variable just stores one value. A lot of time it’s very difficult to manage multiple variables so to avoid this problem we need storage to store multiple elements inside one variable. So basically javascript array is…
Read More »