Skip to content

Instantly share code, notes, and snippets.

@satyr
Created August 31, 2010 04:57
Show Gist options
  • Save satyr/558573 to your computer and use it in GitHub Desktop.
Save satyr/558573 to your computer and use it in GitHub Desktop.
<script src="JSLitmus.js"></script><script>
JSLitmus.test('for(;;)', function(){
var i = 9999;
for(;;) if(!--i) break;
});
JSLitmus.test('while(true)', function(){
var i = 9999;
while(true) if(!--i) break;
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment