Blog

Recent Posts

Bubble Sort

1 minute read

The bubble sort makes multiple passes through a list. It compares adjacent items and exchanges those that are out of order. Each pass through the list places...

Hoisting in JavaScript

1 minute read

Hoisting is a JavaScript mechanism where variables and function declarations are moved to the top of their scope before code execution.

What is Promise Chaining?

less than 1 minute read

A common need is to execute two or more asynchronous operations back to back, where each subsequent operation starts when the previous operation succeeds, wi...

What is AMD, CommonJS

1 minute read

AMD (Asynchronous Module Definition) The AMD module format itself is a proposal for defining modules where both the module and dependencies can be asynchron...

What does not not operator do (!!) ?

less than 1 minute read

It converts Object to boolean. If it was falsey (e.g. 0, null, undefined, etc.), it will be false, otherwise, true.

What are Curry functions in JavaScript

less than 1 minute read

Currying is a technique of evaluating function with multiple arguments, into sequence of function with single argument. That is, when we turn a function call...