Foreach Loop Google Script

listName.forEach((listItem) => {
  Logger.log(listItem);
}):
Nervous Nightingale