removeAt (start, len) Ember.Arraypublic
Defined in packages/ember-runtime/lib/mixins/mutable_array.js:139
Remove an object at the specified index using the replace() primitive method. You can pass either a single index, or a start and a length. If you pass a start and length that is beyond the length this method will throw an OUT_OF_RANGE_EXCEPTION. let colors = ['red', 'green', 'blue', 'yellow', 'orange'];
colors.removeAt(0); // ['green', 'blue', 'yellow', 'orange']
colors.removeAt(2,