Just realized you can do this when debugging JS:

console.log(wat = something);

Then, when debugging in your browser, you'll see the log statement output the something var, and wat will store it. Then you can do methods on wat like you would any normal object, etc.