Global Abatement: Create a single global variable to remove pollution of global scope
for in: The
for in operator enumerates through all properties of an object including those from prototype chain and there is no guarantee on order of properties
Object.keys is the equivalent of
for in except that it iterates oly over property of current object and not the prototype chain
Prototype: Prototype relation is dynamic i.e. updates to prototype are immediately reflected to all child objects. Update the prototype properties carefully.