Get Last Object In Array Typescript Vs Python Interpreter For Windows