What is the meaning of == $0 that is shown in inspect element of google chrome for the selected element [duplicate]

Dev Tools remembers the last five DOM elements (or JavaScript heap objects) that you’ve selected in the tab (or Profiles panel). It makes those objects available as $0$1$2$3, and $4. $0 returns the most recently selected element or JavaScript object, $1 returns the second most recently selected one, and so on.

See this for more information.

Leave a Comment