how to declare an array in bash script

declare -a a=(1 2 3 4 5)
This declares an array named a that contains the values 1 through 5.