In nodes terminal:
> o={a:1}
{ a: 1 }
> p=o //set p=o(if I change anything in p or o, it reflects to the references
{ a: 1 }
> p=null //but setting p=null
null
> o
{ a: 1 } //don't set o to null
So I ask, why this happen, and more important, through one reference(or the original) can I delete every reference to that memory location?
So this way, I can delete 'o' when doing something to p?
Thanks