javascript - Creating a new class more than once -
i have various javascript classes.
a class created so:
this.user = new app.user();
my question is, if call above again , again , again (every time open modal) there memory issues? old class replaced new copy assigning same user var? need consider?
try create empty list type of class , every time create new instance class initialize last index undefined object :)
this manage classes :)
Comments
Post a Comment