I have an array like this:
var animals=["cat","dog","snake","rhino"];
But sometimes I have to delete this array(remove it from the dom). I have tried animals.remove; and $(animals).remove() and animals.remove() but none of them did the trick.Any ideas?