how to print array one by noe in typescritp code example Example: typescript array let list: number[] = [1, 2, 3];