Bash Loop Through Array In Javascript Functions Examples