The GNU bash manual tells me
An indexed array is created automatically if any variable is assigned to using the syntax name[subscript]=v
An indexed array is created automatically if any variable is assigned to using the syntax
name[subscript]=v
According to Greg Wooledge's wiki, (which links to the bash changelog) the negative index syntax was added to bash in version 4.2 alpha.