advanced for test conditions

Benchmark created by Chester on


Preparation HTML

<script>
var j;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
Inside code
for (var i = 0; i < 100; i++)
  if (2 == 2) j = 2
ready
Inside test condition
for (var i = 0; i < 100 && 2 == 2; i++)
  j = 2
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.