IIFE And Closures

IIFE also known as Immidiately Invoked Function Expressions. Let’s understand this with help of an example. Consider we want to build a game. In this game we win a game if score >=5<9 and lose the game if score...

Continue reading

Primitives Vs Objects

The major difference between primitives and Objects is that variables containing primitives hold the data inside of the variable itself. In case of objects, this is not the case. Variable associated with objects, do not...

Continue reading