Show Menu
Cheatography

Chrome Dev Tools Console Cheat Sheet (DRAFT) by

A collection of Google Chrome Developer Tools (DevTools) shortcuts, tips, tricks and helpers.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Dollar sign shortcuts

$_
Value of most recently evaluated expression
$0 to $4
Last 5 most recently selected elements in the Elements tab (0 most recent, 4 oldest)
$('')
Alias to docume­nt.q­ue­ryS­ele­cto­r('')
$$('')
Alias to docume­nt.q­ue­ryS­ele­cto­rAl­l('')
 

Debug

new Error(­).s­tack;
Returns the stack at the point of call.