Hello!
This is a weird concept i know but there is something i was wondering if possible…
Say i look for some variable using a multi level loops such as
for(var i = 0 ; i < something ; i++){
for(var j = 0 ; j < something*.length ; j++){
for(var k = 0 ; k < something*[j].length ; k++){
...
Now would it be possible to tell it a depth? For instance, pass to a function that i want to look at something using i, j, k which makes a depth of 3, without having to hardcode 3 loops and could be used for X loops? Let’s also consider that it would be used browsing into multiple dimensions array. Possible??