I am trying to iterate an object that I get in Angular but I was unable to. In order to understand that I tried it simply using below code:
<script> var x = {"data":['A','B','C']}; for(v in x) { alert(v[0]); } </script>
The output of this is "d".How can I output "A"?