Reverse Array Without Using Another Array Methods In Typescript