Create Empty Bash Array Append Javascript W3schools