Autocomplete in the Console Panel not only works with regular dot notation (e.g. window.onload → window.onload), but also with square bracket notation e.g. window['onloa → window['onload'].
Even if you have an array, you get autocomplete for the index e.g. arr[0 → arr[0].