// Now each row is already assigned to the row variable in the loop
var thingName = row.name;
You can also nest these loops (just use a different variable from "row"). Also important to note to not add or remove row entries of the Infotable inside the loop. In this case you may end up skipping or repeating rows in the loop since the indexes will be changed.