Foreach -Schleife auf Array TypeScript

let num = [7, 8, 9];
num.forEach(function (value) {
  console.log(value);
});
Grieving Goosander