/dev tips

🎊   The Modern DevTools course has now started! Visit ModernDevTools.com to find out more   🎊

(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.