web.dev LIVE is now over! Head to web.dev/live to watch all the sessions, see top Q&A, and more.

Autocomplete for bracket notation

Console Panel autocomplete with properties (bracket or dot notation)

Autocomplete in the Console Panel not only works with regular dot notation (e.g. window.onloadwindow.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].