I have seen a line of shell script as follows:
What does this mean? I don't know what 3:-false means.
No, it's nothing about array, it's a default value in parameter substitution.
Take a look at this article, for me it was really useful: