loading...

re: Quick question- what happens when you push an array into itself? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: When you pushed an array inside itself, you don't create infinite arrays. Just like pushing any other object, you have stored a reference (or poin...
 

TLDR: pointers can create cycles.

 

Also you can do stupid shit like this in Linux by creating a symlink of a directory that points to the parent directory causing recursive directories.

Cool. But why would you want to do that?

Absolutely no reason to do this. Just a fun discovery.

Code of Conduct Report abuse