Advertisement

Latest CompactingCode Activity

Looks like what you're looking for is a loop similar to the following:

for (x = ids[0]; x !== ids[0][2][2][2][2][2][2][2][2][2][2][2]; x = x[2]) {
  if (x[3] === ids[1][i][0][1]) {
    x[2] = [subInpVal,subTxtArray,[],ids[1][i][0][2]];
    break;
  }
}
6,153 views
Advertisement
Advertisement
Advertisement