Object is awesome data structure in JavaScript. Why it’s awesome? Just because of it’s store data as key and value pair and every key is unique so we can store unique information inside objects. So one question arises…

Primitive variable just store one value. Lot of time it’s vary difficult to manage multiple variable so avoid this problem we need storage to store multiple element inside one variable. So basically array is an ordered series or…

It is a advance concept of javascript. This is really interesting concept in javascript. So basically it is a function inside function which can access outer function properties. According to MDN “A closure is the combination of a…

It is a powerful way of searching and replacing something inside a string. To implement that we can use RegExp class and integrated with strings. In Regular expressions we need pattern and optional flags. So we have 2…

How to list branches? git branch #show all local branches. git branch -r #show all remote branches. git branch -a #show all local and remote branches. git show-branch #show branches and their commits. How to find out which…