javascript closures and object reference
i am a bit obscure situation. mainly because i thought i already grasp closures. so basically what i want is to reset to default values a collection. so let say i have collection which has constructor with array of objects parameter. var c = new collection([{x},{y},{z}]); then collection periodically get updated.since i am not keeping somewhere initial values of array, after sometime i would like to reset to initial values. now i am not asking how to implement this, there could be multiple ways my question about closures itself. please read further so the way i might thought to trap this