what happens if i add the array as a member of the same array? [duplicate]

so i am learning javascript and i got curious what would happen if i
add an array as a member to the same array like this:

const arrayInSameArray = ["just a", 1986, "random string"];

arrayInSameArray[arrayInSameArray.length - 1] = arrayInSameArray;

console.log(arrayInSameArray);

i am just curious if it will go infinitely or will stop at some point, because in a browser console i just keeps opening

i opened it a couple times in browser console and it just kept going deeper and deeper.
i tried to find an answer in internet but all i found was combining two arrays together, which is not the case.

i would be glad if you could give me an answer!