/dev tips

🎊   Announcing the new DevTools Pre Launch ModernDevTools.com - A discount, and no subscription fees during this pre-launch period   🎊

(29) 5 Console Panel Tricks Get and debug event listeners (31)

Chrome DevTools: Console Panel autocomplete with properties (bracket or dot notation)

4 May 2015
Console Panel autocomplete with properties (bracket or dot notation)

Autocomplete in the Console Panel not only works with regular dot notation (e.g. window.onloawindow.onload), but also with square bracket notation e.g. window['onloawindow['onload'].

Even if you have an array, you get autocomplete for the index e.g. arr[0arr[0].

Sign up to receive a developer tip, in the form of a gif, in your inbox each week.