We can also set values for specific indexes during array initialization.
For example, to assign a value to index 0, 3, and 4, we can do:
my_array := [5]string{0: "z", 3: "y", 4: "x"}
This will set values for index 0, 3, and 4 - leaving the other indexes empty.fmt.Println(my_array)
We will have the following output (spaces are between empty strings ""):
[z y x]