Posted By

brianyang on 10/11/10


Tagged


Versions (?)

sentinel controlled repetition


 / Published in: JavaScript
 

  1. counter = 0;
  2.  
  3. while ( counter != -1 )
  4. {
  5. counter = counter + 1;
  6. }
  7. if ( counter != 0)
  8. {
  9. // end
  10. }

Report this snippet  

You need to login to post a comment.