function (object) {
  var propList = [];
  var methodList = [];
  for (var k in object) {
    if (typeof object[k] === "function") {
      methodList.push(k);
    } else {
      propList.push(k);
    }
  }
  return {
    propList: propList,
    methodList: methodList,
  };
}
function (object) {
  var propList = [];
  var methodList = [];
  for (var k in object) {
    if (typeof object[k] === "function") {
      methodList.push(k);
    } else {
      propList.push(k);
    }
  }
  return {
    propList: propList,
    methodList: methodList,
  };
}
function ( object ) { var propList = [ ] ; var methodList = [ ] ; for ( var k in object ) { if ( typeof object [ k ] === "function" ) { methodList . push ( k ) ; } else { propList . push ( k ) ; } } return { propList : propList , methodList : methodList , } ; }
Find all existing properties and methods in the object.
Find all existing properties and methods in the object .