DEV Community

Discussion on: Javascript academy #1: Primitive value vs reference value

Collapse
 
vonmehdi profile image
EL MEHDI ESSAADI

Thanks, thats what I was loking for.

Collapse
 
codeoz profile image
Code Oz

you are welcome! If you need more details you can check this javascript.info/garbage-collection !

Collapse
 
vonmehdi profile image
EL MEHDI ESSAADI

I read it, I understood the concept of reachability, if there is no reference or chain of references to an object it will be delete.
Thanks agian .

Thread Thread
 
codeoz profile image
Code Oz

Happy to help you 😊

Some comments have been hidden by the post's author - find out more