Available For Freelance
Menu
Close

Learn Object Oriented JavaScripta and JavaScript Design Patterns

Node.js Single Threaded Event Loop Based Architecture

Node.js is Single Threaded Event Loop Architecture. This Article shall enable you to understand the basic Architecture of Node.js, it also focusses on "How Node.js is Different from other Languages"

Module Pattern in JavaScript

Module Pattern is an efficient Design Pattern in case user need to return a simple Object from a function. Module Pattern acts like a singleton returning single reusable Object.

Scopes in JavaScript

Scopes in Javascript determine the accessibility of a declared variable. Variables cannot be accessed outside the scope in which it is defined. We can have "block", "function" and "global" scopes.

JavaScript Object Creation

Objects can be created in different ways. In the following article we shall be learning about the different ways in which they can be created and associated advantages and disadvantages.

Singleton in JavaScript

Singleton Design Pattern ensures that we cannot have multiple instances of a particular Object. Singleton Design Pattern are set of functions and variables exposed from a function.

Hoisting in JavaScript

Hoisting is one of the most important features of JavaScript. Function Definition and Variable Declarations are by default moved to the top of function Definition. Hence making it accessible even before it is declared.

JavaScript Prototype Pattern

Prototype Pattern is used at the places where we need to create multiple Objects of a specicif type. It is a constructor function using which multiple instances of the same type can be created.

Delete Keyword JavaScript

Delete Keyword in used in JavaScript in order to delete properties and Objects. However delete cannot be used in case where we have non-configurable properties.

Function Chaining in JavaScript

Function Chaining is the concept which is followed by Framework Like JQuery. Function can be chained together and called in a single line. We can utilize function chaining concept to build efficient code.

Context vs Scope in JavaScript

Scope and Context are often confused as the same thing in JavaScript. This document shall help you understand the difference between the Context and the Scopes in JavaScript. This is important to understand the difference between the two.

Immediately Invokable Function Expression

IIFE (Immediately Invokable Function Expressions) are self invoking function expressions. This Design Pattern should be used in case function is required to be called just once.