const arrayGenericVar = new Array ( 1 , 2 ) ; const arrayGenericLiteralVar = [ 2 , 4 , 8 ] ; const arrayGenericEmptyVar = [ ] ; const arrayConstructorVar = new Array ( 2 , 4 , 8 ) ; const arrayVar = [ 3 , 6 , 9 ] ; const arrayEmptyVar = [ ] ; type ArrayGenericMixed = Array < unknown > ; type ArrayMixed = unknown [ ] ; type ArrayGenericMaybe = Array < string > | null | undefined ; type ArrayMaybe = string [ ] | null | undefined ; type ArrayGenericUnion = Array < object > | Array < Date > | null ; type ArrayUnion = object [ ] | Date [ ] | null ; type ArrayReadOnly = ReadonlyArray < number > ;