typescript foreach create new array code example
Example: typescript foreach
let num = [7, 8, 9];
num.forEach(function (value) {
console.log(value);
});
let num = [7, 8, 9];
num.forEach(function (value) {
console.log(value);
});