includes/backup.js
function getPropertyNames(obj, count) {
  // decide which batch numbers to deal with
  var batchestofetch = [];
  var j = 0;
  for (var i in obj) {
    batchestofetch.push(parseInt(i));
    j++;
    if (j >= count) break;
  }
  return batchestofetch;
}
function getPropertyNames(obj, count) {
  // decide which batch numbers to deal with
  var batchestofetch = [];
  var j = 0;
  for (var i in obj) {
    batchestofetch.push(parseInt(i));
    j++;
    if (j >= count) break;
  }
  return batchestofetch;
}
function getPropertyNames ( obj , count ) { // decide which batch numbers to deal with var batchestofetch = [ ] ; var j = 0 ; for ( var i in obj ) { batchestofetch . push ( parseInt ( i ) ) ; j ++ ; if ( j >= count ) break ; } return batchestofetch ; }
Returns first N properties on an object.

@param {object} obj - object with properties
@param {number} count - number of properties to return
Returns first N properties on an object .