gscript create a list for looping code example Example: foreach loop google script listName.forEach((listItem) => { Logger.log(listItem); }):