So, I was experimented one day when I came across this question in Stack Overflow and got curious: Maximum size of an Array in Javascript (Maximum size of an Array in JavaScript).
Question is, what is the Maximum depth of an Array in JavaScript?
By depth I mean how much can you nest an array within an array until JavaScript gives up?
[1] // Depth Level: 1
[1, [2]] // Depth Level: 2
[1, [2, [3]]] // Depth Level: 3
[1, [...]] // Depth Level: x?
Is it machine-dependent, is it based on the compiler?
No, I'm not sure if there's any practical use for this but it's still something I'm curious about nonetheless.