Typescript Number Array Example In Math