Classes in JavaScript provide a means of manipulatin...
why we are using factories in javascript? whats the purpose?