typescript list of numbers or strings code example Example: typescript array let list: number[] = [1, 2, 3];