Google Groups

Re: [Chrome DevTools] toSource equivalent

Sam Dutton Jan 9, 2012 8:55 AM
Posted in group: Chrome DevTools
Hi Peng

I'm not sure if this answers your question, but the best way to the view the details for an object in the Chrome Dev Tools is to enter its name in the console and press return!

You might also want to look at JSON.stringify().


On 9 January 2012 07:45, Peng Yu <> wrote:

I see that there is toSource in Firefox. I'm wondering if there is
anything equivalent in devtools that can print the source code of an
object. Thanks!