Object Oriented Javascript
ECMAScript defines an object as an “unordered collection of properties each of which contains a primitive value, object or function”. In simple words this means that an object is an array of values in no particular order.
ECMAScript defines an object as an “unordered collection of properties each of which contains a primitive value, object or function”. In simple words this means that an object is an array of values in no particular order.
JavaScript closures are considered to be advanced stuff. It’s one part of javascript hard to understand by merely reading the javascript jargon. So here is an attempt to make it easy to understand even by those who don’t consider themselves “Guru” of javascript.