web.dev LIVE has kicked off! Join us now for our digital event from June 30th to July 2nd at web.dev/live

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