how array = array works in angular code example Example: typescript array let list: number[] = [1, 2, 3];