Typescript Array With Key Value Pair Javascript Tutorial