Lets say I have a function
function person(){
var dog = new pet();
}
var kevin = new person();
kevin = new person();
What happens to the first person that was assigned to kevin?
Do i have to delete it manually or will javascript delete the unreferenced person.
What happens to the dog object?