Typescript Convert Number Array Example For Multiplication