Shell Script Loop Through Array Javascript Function Examples