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

Popular posts from this blog

apache - setting document root in antoher partition on ubuntu -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -

Process 'command 'F:\android-sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1 -