Typescript String Number Array Example Math