code: function(a) {
    var res = [];
    if (a.forEach) {
      a.forEach(function(obj) {
        res.push(obj);
      });
    }
    else {
      res = a;
    }
    return res;
  }
docs: import PagedRemoteArray from 'ember-cli-pagination/remote/paged-remote-array';