Example Of While Loop In Javascript