Create Empty Bash Array Append Javascript Array Length