Assuming, I have an array myList and want to empty it at some point. It was suggested I can do
myList = ;
But it was also mentioned that if I ave another 'reference' to myList then I may leak memory. How can I have another 'reference' to myList? Can someone give an example. Thanks.