In an Ember Array, how do i access object by index value? Ember Js
Looking at the documentation, you could just do var myObject = array.objectAt(someIndex);
, and that will return the object at that specific index. You can check the documentation here.
array.get(index)
actually works. index
can be either an integer or a string.
It also works for array-properties, ie.
this.get('myArray.1')
will return the second element in the myArray
property.