Ember array chunk

Hi, I’m trying to split Ember array in chunks (just like for example php arrray_chunk(arr, 2) do) I used some custom function to do this My solution jsbin , is there any better way to do this? Maybe extend Ember.array? Your advices, review will be appreciated!

Don’t think there’s any ember specific solution but there’s some good ones at javascript - Split array into chunks - Stack Overflow

I didnt use it, but maybe the GroupableMixin is something for you: