Access Array Values in Typescript

I have this service_transcript array and this.service.getValue() returns the arr_value array

const service_transcript=this.service.getValue();


public arr_value=[];
  getValue()
  {
    return this.arr_value;
  }

when i console.log(service_transcript[0]); getting undefined

enter image description here