Autocomplete for bracket notation

Published on • Updated on

Console Panel autocomplete with properties (bracket or dot notation)

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

Updated on • Improve article

We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.