lib/events.js
function toArray(obj) {
  var a, arr = [];
  for (a in obj) {
    arr.push(obj[a]);
  }
  return arr;
}
function toArray(obj) {
  var a, arr = [];
  for (a in obj) {
    arr.push(obj[a]);
  }
  return arr;
}
function toArray ( obj ) { var a , arr = [ ] ; for ( a in obj ) { arr . push ( obj [ a ] ) ; } return arr ; }
Converts an object into array
@param  {*} obj
@return {Array}
Converts an object into array