Bash Script Array Size In Javascript W3schools