Reverse An Array Without Using Another Array Methods In Typescript