While Loop In Shell Script Interface In Javascript W3schools