1let someArray = [1, "string", false];
2
3for (let entry of someArray) {
4 console.log(entry); // 1, "string", false
5}
6
7var numbers = [1, 2, 3];
8for (var _i = 0; _i < numbers.length; _i++) {
9 var num = numbers[_i];
10 console.log(num);
11}
1export const markets = ['au', 'br', 'de'] as const;
2export type Market = typeof markets[number];
3
4markets.forEach((market: Market) => {
5 console.log(market);
6});
7