decalare array with four value in ts component code example Example: typescript array let list: number[] = [1, 2, 3];