javascript - I want to display an object's values in chrome's console -


I remember something in Chrome's console that I'm following a screencast where a JavaScript object is such a Browsable tray is displayed in the structure like:

(arrow here) object

For example, while typing it, I am only getting an empty array:

jQuery ()

If you want to browse the content inside the JQuery object First, you have to choose something first.
$ () returns a blank jQuery object.


If you want to browse the objects / properties of the hands on the other, you should use the console.dir method, which gives you more of your object Provide a deeper view:

  console.dir (jQuery ());   

Below is:

Comments