When a user opens a modal I create a class:
app.product = new app.Product();
What would happen if the user opens the modal over and over again throughout the use of the site?
Would I get 1000s of repeated classes, or would the original one be replaced time and time again.
Would doing this have any effect on memory/performance?