Introduction to anonymous functions

Functions created without identifiers or a name for them are called anonymous functions

Recursive functions in JavaScript

Recursive functions are those which, upon execution, evoke themselves . When there is a functionality which has to be repeated unknown number of times, using recursion is a go...

Closure functions in JavaScript

Closures are inner functions that can access outer function's parameters. It is a combination of function and the environment it has created. A closure is a nested fun...

Block scope and mimicking

This chapter is an extension of JS Scope and Memory block scope article.

Private variables in JavaScript

Private variables and methods are those that accessed only within an object. Private variables are defined with