Skip to content

Instantly share code, notes, and snippets.

@j03m
Last active August 29, 2015 14:05
Show Gist options
  • Save j03m/23c45904ca383c7eab29 to your computer and use it in GitHub Desktop.
Save j03m/23c45904ca383c7eab29 to your computer and use it in GitHub Desktop.
hax all the things from the obj
function dump(obj){
while(obj!==undefined){
for(var key in obj){
log("j03m: " + key + " is " + obj[key].toString());
}
try{
obj = Object.getPrototypeOf(obj);
}catch(e){
obj = undefined;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment